protected override void NotifyCommandsCanExecuteChanged() { base.NotifyCommandsCanExecuteChanged(); CloseCommand.NotifyCanExecuteChanged(); }