Fix cancel buttons, avoid reloading the site