Preventing rogue modals from popping up when hitting the enter-key

closes #3352
- adding a ```type``` attribute to buttons inside form in the settings section
- scanning the rest of the project to find any other buttons w/a missing attribute
Merge pull request #3359 from morficus/issue-3352

Preventing rouge modals from popping up when hitting enter-key in settings section