add: gProgressDialog.SetProgressStatusCancel(); 
context: function CancelPublishing(){  try {    gPersistObj.cancelSave(); // Cancel all networking transactions  } catch (e) {}  // If canceling publishing do not do any commands after this      gCommandAfterPublishing = null;  if (gProgressDialog)  {    // Close Progress dialog     // (this will call FinishPublishing())    gProgressDialog.CloseDialog();  }  else    FinishPublishing();}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/254e12231f2cf99f79abebb676b77604cb9b4d2e/ComposerCommands.js/buggy/editor/ui/composer/content/ComposerCommands.js