-1 to this change. type=button avoids a prevent default in the event handler of the button