InvalidOperationException: Cannot set Visibility or call Show, ShowDialog, or WindowInteropHelper.EnsureHandle after a Window has closed. StackTrace: at System.Windows.Window.VerifyCanShow() at System.Windows.Window.Show() at Quicker.Domain.Services.ActionEditMgr.EditAction(ActionProfile profile, Int32 row, Int32 col, ActionItem actionItem, Nullable`1 newActionType, EditActionParam editParam, Boolean forceReadonly) at Quicker.Domain.Services.ActionEditMgr.EditActionById(String actionId, EditActionParam editParam, Boolean forceReadOnly) at Quicker.Domain.Services.ActionEditMgr.<>c__DisplayClass55_0.nKIvRy41FtP(Object sender, RoutedEventArgs args) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) at System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)