diff --git a/src/Ursa/Controls/PopConfirm/PopConfirm.cs b/src/Ursa/Controls/PopConfirm/PopConfirm.cs index faf4c57..36d3797 100644 --- a/src/Ursa/Controls/PopConfirm/PopConfirm.cs +++ b/src/Ursa/Controls/PopConfirm/PopConfirm.cs @@ -194,9 +194,9 @@ public class PopConfirm : ContentControl var canExecute = command.CanExecute(button.CommandParameter); if (canExecute) { - command.CanExecuteChanged -= OnCanExecuteChanged; _popup?.SetValue(Popup.IsOpenProperty, false); } + command.CanExecuteChanged -= OnCanExecuteChanged; } command.CanExecuteChanged += OnCanExecuteChanged;