pop up now only closes on click outside the map, not end of hover