I decided to use Application2 for my project. Before I switched to Application2: this.DialogResult = DialogResult.Yes; would close my custom dialogs. Now the result is set but the dialogs will not close. If I add a close after this, the zorder of my dialogs is messed up. Using Application, all worked...