This method creates an ui.Dialog dynamic multiple-dialog object (acting like the DIALOG...END DIALOG block). After that, you have to create sub-dialogs using the following methods:
The current form will be attached to the created dialog.
To add attributes to the dynamic dialog, use the setDialogAttribute() method.
To add dialog or sub-dialog triggers, use the addTrigger() method.
ui.Dialog.createMultipleDialog()
RETURNS ui.Dialog