add:   var isNew = window.calendarItem.isMutable; if (!isNew) {  var newItem = saveItem(); var oldItem = window.calendarItem.clone();  newItem.deleteProperty("DTSTAMP"); oldItem.deleteProperty("DTSTAMP");    setElementValue("item-description", oldItem.getProperty("DESCRIPTION")); setItemProperty(oldItem, "DESCRIPTION", getElementValue("item-description"));  var a = newItem.icalString; var b = oldItem.icalString;  if(newItem.icalString == oldItem.icalString) return true; }   var promptService = Components.classes["@mozilla.org/embedcomp/prompt-service;1"] .getService(Components.interfaces.nsIPromptService);  var promptTitle = "Save Event"; var promptMessage = "Do you want to save changes?"; var buttonLabel1 = "Yes"; var buttonLabel2 = "No";  var flags = promptService.BUTTON_TITLE_IS_STRING * promptService.BUTTON_POS_0 + promptService.BUTTON_TITLE_CANCEL * promptService.BUTTON_POS_1 + promptService.BUTTON_TITLE_IS_STRING * promptService.BUTTON_POS_2;  var choice = promptService.confirmEx(null, promptTitle, promptMessage, flags, buttonLabel1,null , buttonLabel2, null, {});  switch(choice) { case 0: onCommandSave(); return true; case 2: return true; default: return false; } 
context: function onCancel(){}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/c78b2e15e04d4a1764ad73cc3f8de62e66cd0c88/sun-calendar-event-dialog.js/clean/calendar/prototypes/wcap/sun-calendar-event-dialog.js