rem:  if (filterList) { var filterEditor = windowManagerInterface.getMostRecentWindow("mailnews:filtereditor");    if (filterEditor) { if(emailAddress) { if(!gPromptService) { gPromptService = Components.classes["@mozilla.org/embedcomp/prompt-service;1"].getService(); gPromptService = gPromptService.QueryInterface(Components.interfaces.nsIPromptService); }  gPromptService.alert(window, gBrandBundle.getString("brandShortName"), gMessengerBundle.getString('cannotHaveTwoFilterRulesText') ); } filterEditor.focus(); } else { if(emailAddress) filterList.openPrefillOnExistingFilterList(emailAddress); else filterList.focus(); } } else window.openDialog("chrome: "chrome,resizable,centerscreen,dialog=yes", args); 
add: window.openDialog("chrome: "chrome,modal,resizable,centerscreen,dialog=yes", args); 
context: function MsgFilters(emailAddress){    var preselectedFolder = GetFirstSelectedMsgFolder();    var windowManagerInterface = GetWindowMediator();    var filterList = windowManagerInterface.getMostRecentWindow("mailnews:filterlist");    var args = { folder: preselectedFolder };    if (emailAddress)      args.prefillValue = emailAddress;    if (filterList)    {      var filterEditor = windowManagerInterface.getMostRecentWindow("mailnews:filtereditor");      // If the filtereditor is open, then we focus that because it is modal and      // thus blocking the filterlist from focusing.      if (filterEditor)      {        if(emailAddress)        {          if(!gPromptService) {            gPromptService = Components.classes["@mozilla.org/embedcomp/prompt-service;1"].getService();            gPromptService = gPromptService.QueryInterface(Components.interfaces.nsIPromptService);          }          gPromptService.alert(window,                gBrandBundle.getString("brandShortName"),                gMessengerBundle.getString('cannotHaveTwoFilterRulesText')          );        }        filterEditor.focus();      }      else      {        if(emailAddress)          filterList.openPrefillOnExistingFilterList(emailAddress);        else          filterList.focus();      }    }    else      window.openDialog("chrome://messenger/content/FilterListDialog.xul", "",                           "chrome,resizable,centerscreen,dialog=yes", args);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/6b9a855cb7c27f11c272b2505822f2cd2ffdee2e/mailWindowOverlay.js/clean/mailnews/base/resources/content/mailWindowOverlay.js