geolocation now working with modal