diff --git a/DiscordChatExporter.Gui/Framework/DialogManager.cs b/DiscordChatExporter.Gui/Framework/DialogManager.cs index 0f6a8f86..68d49435 100644 --- a/DiscordChatExporter.Gui/Framework/DialogManager.cs +++ b/DiscordChatExporter.Gui/Framework/DialogManager.cs @@ -38,6 +38,10 @@ public class DialogManager : IDisposable } ); + // Yield to allow DialogHost to fully reset its state before + // another dialog is shown (e.g. when dialogs are shown sequentially) + await Task.Yield(); + return dialog.DialogResult; } }