Removed extraneous .preventDefault calls

The only ones left are on form submission. Form submission is done so
Enter can be pressed in modal dialogs