Click on the image for closure of a window