A modal dialog wizard can be used to perform a complex flow while maintaining context of the page.
Step 1. Use the Create Page wizard and select Wizard.
Step 2. Enter the number of pages you want in the wizard, and then set Page Mode to Modal Dialog
Step 3. Follow the rest of the steps in the wizard to completion.
Now you have a modal dialog wizard created with the page numbers you specified in the creation wiard.