diff --git a/src/BootstrapBlazor/Components/Modal/Modal.razor.cs b/src/BootstrapBlazor/Components/Modal/Modal.razor.cs index 70c5b86ab..996d2ba31 100644 --- a/src/BootstrapBlazor/Components/Modal/Modal.razor.cs +++ b/src/BootstrapBlazor/Components/Modal/Modal.razor.cs @@ -176,6 +176,10 @@ namespace BootstrapBlazor.Components { await dialog.Close(); } + else + { + await CloseOrPopDialog(); + } } ///