prevent default when form has two or more submit events bound