anchor.diff:        if bModified then
           case MsgBox(
                  Format(msgConfirmSaveModifiedTab, [F.TabCaption]),
  -               Flags) of
  +               MsgFlags) of
             ID_YES:
               begin
                 //Cancel in "Save as" dlg must be global cancel
  
positive.code:     exit(true);
  
    if AWithCancel then
      Flags:= MB_YESNOCANCEL or MB_ICONQUESTION
    else
      Flags:= MB_YESNO or MB_ICONQUESTION;
  
    ListNoSave:= TFPList.Create;
    try
  
negative.code: 
  function TfmMain.DoFileCloseAll(AWithCancel: boolean): boolean;
  var
    MsgFlags: integer;
    F: TEditorFrame;
    ListNoSave: TFPList;
    bModified: boolean;
  