Prevent default on clicking the close panel link