The button on your main page can very simply execute the action “Open Popup” Then you can define your popup contents declaratively. No coding required. The heavy lifting usually is on the “Continue” button - where you execute the process you had envisioned.