Clicking on map modal makes it hide