Hide shown image on viewer close.