private void RemovePageExecuted(Object param)
 {
     if (wizard != null)
     {
         DesignerOperations.RemovePage(wizard);
     }
 }
        private void OnRemovePage(object sender, MenuActionEventArgs e)
        {
            ModelItem wizard = GetWizard(e.Selection.PrimarySelection);

            if (wizard != null)
            {
                DesignerOperations.RemovePage(wizard);
            }
        }