specified default button type to avoid form submission on keypress