Exit modal button prevent default action