add: saveCopiesAndFolderSettings(gIdentity); saveAddressingAndCompositionSettings(gIdentity); 
context: function onOk(){  if (!validEmailAddress())    return false;  // if we are adding a new identity, create an identity, set the fields and add it to the  // account.   if (!gIdentity)  {    // ask the account manager to create a new identity for us    var accountManager = Components.classes["@mozilla.org/messenger/account-manager;1"]        .getService(Components.interfaces.nsIMsgAccountManager);    gIdentity = accountManager.createIdentity();        // copy in the default identity settings so we inherit lots of stuff like the defaul drafts folder, etc.    gIdentity.copy(gAccount.defaultIdentity);    // assume the identity is valid by default?    gIdentity.valid = true;    // add the identity to the account    gAccount.addIdentity(gIdentity);    // now fall through to saveFields which will save our new values          }  // if we are modifying an existing identity, save the fields  saveIdentitySettings(gIdentity);  window.arguments[0].result = true;  return true;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/9f9cb5772949cc0483bda5f30ddd533467c3ff9c/am-identity-edit.js/clean/mailnews/base/prefs/resources/content/am-identity-edit.js