Dialog dlg;
DialogGroup dGrp;
DialogField dfName;
dlg = new Dialog("Trivial Dialog");
dGrp = dlg.addGroup("A Group");
dfName = dlg.addField(extendedTypeStr(Name));
if (dlg.run())
{
info(dfName.value());
}
Extended data types have to be wrapped in a call to extendedTypeStr()
.