private void CloseDialog()
 {
     ApplicationHelper.CloseFrontWindow();
 }