Prevent default link behavior when closing modals.

https://github.com/cferdinandi/modals/issues/12