Starts a dialog on the screen.
Oration:
int ts_dialog(iDialogDescr,"invoke");
Returns 1 or 0 if the dialog was closed with "ok" or "cancel" respectively.
This only works for modal dialogs. When a modeless panel is launched, the program continues without waiting for the dialog box to close.