Fixed the popup on the image viewer page.