Use dialogs ...break that down into some functions

Here's a button.

The dialog on this page will be generated from a <template> element that is created when the page loads.

navigate my process