Use dialogs ...generated from a template

Here's a button.

The dialog on this page will be generated from a <template> element, on demand, the first time you click that button.

navigate my process