/** Destroy this object */
 public void destroy() {
   if (viewDialog != null) {
     viewDialog.dispose();
     viewDialog = null;
   }
 }