Added a base class for dialogs.
Added exception handling for running a dialog in a modal state.
Application will now close even when a modal dialog is open.
Merge branch 'master' into project_settings