this makes me discover a bug: clicking on a button should only submit the form if it has the type ``submit`` (or no explicit type, to be consistant with browsers)