preventing the anchor tags from appending hrefs to the url, and allowing the user to teardown the overlay by clicking on it.