Prevent default click event from mucking up URL.