prevent click on map's back button from reaching the map