rem: var canClose = CheckAndSaveDocument(GetString("BeforeClosing")); 
add:  var canClose = CheckAndSaveDocument(GetString("BeforeClosing"), true); 
context: function EditorCanClose(){  // Returns FALSE only if user cancels save action  //dump("Calling EditorCanClose\n");  var canClose = CheckAndSaveDocument(GetString("BeforeClosing"));  // This is our only hook into closing via the "X" in the caption  //   or "Quit" (or other paths?)  //   so we must shift association to another  //   editor or close any non-modal windows now  if (canClose && window.InsertCharWindow)    SwitchInsertCharToAnotherEditorOrClose();  return canClose;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/49bc32c783f8e8fbf15d440f1587990451b05b6f/editor.js/clean/editor/ui/composer/content/editor.js