buttons use type=button now to not trigger submit in some browsers