Stop the close button triggering the anchor