Avoid following the link when the button is clicked