private bool IsMainWindowDisplayable() { if (ShowDialogManager.ShowingDialogCount == 0) { return true; } return false; }