Close window and return to Gallery