Get images uploaded to this post in popup on editor screen

The post object is already available when you are editing a post.

if you need it just call global $post;

There is also a handy little core function that does this for you, get_attached_media()

// Get the images uploaded to the post
$images = get_attached_media( 'image' );