rem: "chrome,dialog=yes,all", 
add: "chrome,dialog=yes,all,resizable", 
context:     onAlarm: function(event) {        var wmediator = Components.classes["@mozilla.org/appshell/window-mediator;1"]                                  .getService(Components.interfaces.nsIWindowMediator);        var calAlarmWindow = wmediator.getMostRecentWindow("calendarAlarmWindow");        if (!calAlarmWindow  && !this._WindowOpening) {            var windowWatcher = Components.classes["@mozilla.org/embedcomp/window-watcher;1"].getService(CI.nsIWindowWatcher);            this._WindowOpening = windowWatcher.openWindow(null,                                                    "chrome://calendar/content/calendar-alarm-dialog.xul",                                                    "_blank",                                                    "chrome,dialog=yes,all",                                                    null);        }        if (this._WindowOpening) {            calAlarmWindow = this._WindowOpening;        }        if ("addAlarm" in calAlarmWindow) {            calAlarmWindow.addAlarm(event);        } else {            // The window isn't open yet            var alarmObserver = this;            var addAlarm = function() {                calAlarmWindow.addAlarm(event);                // Now the window is open                alarmObserver._WindowOpening = null;            }            calAlarmWindow.addEventListener("load", addAlarm, false);        }    }
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/d1cd89762c28b352ee670f94140045b0ec934443/lightningAlarmMonitor.js/buggy/calendar/lightning/components/lightningAlarmMonitor.js