Prevent multiple submissions when editing a location.