fixed missing preventDefault on form actions