add:   if (gMsgCompose) { var externalListener = gMsgCompose.getExternalSendListener(); if (externalListener) { externalListener.onSendNotPerformed(null, Components.results.NS_ERROR_ABORT); } }  
context: function DoCommandClose(){  var retVal;  if ((retVal = ComposeCanClose())) {    MsgComposeCloseWindow(true);	  // at this point, we might be caching this window.	  // in which case, we don't want to close it    if (sMsgComposeService.isCachedWindow(window)) {	    retVal = false;	  }  }  return retVal;}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/ab1db95e686664212ed3547263415aa99e6dfb99/MsgComposeCommands.js/clean/mailnews/compose/resources/content/MsgComposeCommands.js