public void removeDialog(Object dialog) {
   super.removeDialog(dialog);
   if (dialog == this.keywordForm) {
     keywordForm = null;
   }
 }