Change button type to "button" instead of "submit" #7250

If the javascript fails to load or init correctly (so far only observed on IE),
then this button will submit the form and cause KeyError "next" not in
self.request.form.

By making this button's type "button" the form won't be submitted