click to close window and return to gallery