click on map to close window