Click on the image window closes