click on the map to close the window