How could I use a Page Control while I'm writing a script with my own Dialogs

AFAIK there is no such control.
The closest would be to use Tabs.
An example of a dialog with Tabs (I think it is the only one).