rem: "editDirectory", "chrome,modal=yes,resizable=no", args); 
add: "editDirectory", "chrome,modal=yes,resizable=no,centerscreen", args); 
context: function editDirectory(){  var args = { selectedDirectory: null,               selectedDirectoryString: null,               result: false};  if(gCurrentDirectoryServer && gCurrentDirectoryServerId) {    args.selectedDirectory = gCurrentDirectoryServer;    args.selectedDirectoryString = gCurrentDirectoryServerId;    window.openDialog("chrome://messenger/content/addressbook/pref-directory-add.xul",                      "editDirectory", "chrome,modal=yes,resizable=no", args);  }  if(gUpdate)   {    // directory server properties have changed. So, update the      // LDAP Directory Servers dialog.      var directoriesList = document.getElementById("directoriesList");     var selectedNode = directoriesList.selectedItems[0];     selectedNode.setAttribute('label', gNewServer);     selectedNode.setAttribute('string', gNewServerString);        // window.opener is either global pref window or     // mail/news account settings window.    // set window.opener.gRefresh to true such that the     // dropdown list box gets updated     window.opener.gRefresh = true;   } }
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/b343883d4f9f1f7c522be4afcd94af500a574c54/pref-directory.js/buggy/mailnews/addrbook/prefs/resources/content/pref-directory.js