public void Close()
 {
     // ObjectModel is essentially the window ui object.
     if (this.viewDescriptor != null)
     {
         NavigationHelper.CloseApplication(this.viewDescriptor.AUMID);
     }
 }