bringing modal functionality into the image view and out of a controller