added close button for the image