Add warning when trying to acces the form whitout a location.