rem: } else { sendPageMustSave(); } 
add: } else if (CheckAndSaveDocument(GetString("SendPageReason"))) editorSendPage(); 
context: function editorSendPage(){  var docModified = editorShell.documentModified;  var pageUrl = window.editorShell.editorDocument.location;  if (pageUrl != "about:blank" && !docModified)  {    var pageTitle = window.editorShell.editorDocument.title;    window.openDialog("chrome://messenger/content/messengercompose/messengercompose.xul", "_blank",                         "chrome,all,dialog=no", "attachment='" + pageUrl + "',body='" + pageUrl +                        "',subject='" + pageTitle + "',bodyislink=true");  } else {    sendPageMustSave();  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/5eafc0feeb5eafc3a8dec8ecd2e935e7be206733/editor.js/clean/editor/ui/composer/content/editor.js