Fix stupid transitions bug
Only prevent default on forms and submits
Only count buttons that have actual parent forms as submits