change button type to button; avoid default submit