Bugfix: Explicitly typed button as a button

The default type for button is `submit`, which affects all parent forms by calling `submit()` on them.