I need to run several threads concurrently, until any or several of these
threads may display a dialog for user to enter data. When a dialog is displayed
that thread which shows the dialog is to be suspended till the user has closed
the dialog. I do not want the dialogs to be defined modal because so that
the user may interact with several of these dialogs opened by different threads,
or also the parent window. How can I achieve this?