Set button to type="button".

The default type for the <button> element is "submit", which will submit any form that happens to contain our button.