Dynamic Dialogs

Dialogs can be created at runtime with the ui.Dialog class.