rem: openDialog("chrome: "chrome,titlebar,modal,resizable", args); 
add: if (getPrefSafe("calendar.prototypes.wcap", false)) { openDialog("chrome: "chrome,titlebar,modal,resizable", args); } else { openDialog("chrome: "chrome,titlebar,modal,resizable", args); } 
context: function openEventDialog(calendarItem, calendar, mode, callback){    var args = new Object();    args.calendarEvent = calendarItem;    args.calendar = calendar;    args.mode = mode;    args.onOk = callback;    // the dialog will reset this to auto when it is done loading.    window.setCursor("wait");    // open the dialog modally    openDialog("chrome://calendar/content/calendar-event-dialog.xul", "_blank",               "chrome,titlebar,modal,resizable", args);}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/423f8fc6ef749d09ff16238e4496e6c36cb0889c/calendar-item-editing.js/clean/calendar/base/content/calendar-item-editing.js