added type=button

to ensure does not submit a form