I just went through the documentation of DialogWindow::LaunchOptions::runModal and stumbled upon the following remark:
"Note that running modal loops inline is a BAD technique. "
I have to admit, that I do not quite understand, why modal loops are bad. I would be happy, if someone could shed light on this :-)
Are they generally bad or only in plugins?