Just so others can benefit, I’ll give a more detailed answer to your main question.
You can set the button’s “click” event in the properties panel to open a new form. If we associate the click event to a function called, for example, “button_click”, then in our client-side code we can write: