Changing photometry to work as a pop up.