Hide the overlay when the url is not specified.