diff --git a/TelegramBotBase/Form/ModalDialog.cs b/TelegramBotBase/Form/ModalDialog.cs index b20335c..a3c8faa 100644 --- a/TelegramBotBase/Form/ModalDialog.cs +++ b/TelegramBotBase/Form/ModalDialog.cs @@ -22,7 +22,7 @@ namespace TelegramBotBase.Form await this.OnClosed(new EventArgs()); - this.ParentForm?.ReturnFromModal(this); + await this.ParentForm?.ReturnFromModal(this); } } }