rem: window.openDialog("chrome: 
add: var windowManagerInterface = GetWindowMediator(); var filterList = windowManagerInterface.getMostRecentWindow("mailnews:filterlist");  if (filterList) { var filterEditor = windowManagerInterface.getMostRecentWindow("mailnews:filtereditor");    if (filterEditor) filterEditor.focus(); else filterList.focus(); } else window.openDialog("chrome: "chrome,resizable,centerscreen,dialog=yes", { folder: preselectedFolder }); 
context: function MsgFilters(){    var preselectedFolder = GetFirstSelectedMsgFolder();    window.openDialog("chrome://messenger/content/FilterListDialog.xul", "FilterDialog", "chrome,resizable,centerscreen", { folder: preselectedFolder });}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/7348fb87b43fb1be5de4900448281a7c27f3e707/mailWindowOverlay.js/buggy/mailnews/base/resources/content/mailWindowOverlay.js