windows close on map click