When the dialogs architecture is used for the main view, it is recommended that the dialog is run as a modeless dialog. This ensures the framework works as expected.
This section explains the following: