rem: alarmWidget.parentNode.removeChild(alarmWidget); 
add: var parent = alarmWidget.parentNode; parent.removeChild(alarmWidget);  if (!parent.hasChildNodes()) {  window.close(); } 
context: function onDismissAlarm(event){  // everything is just visual at this point. we don't need to do anything special.  var alarmWidget = event.target;  alarmWidget.parentNode.removeChild(alarmWidget);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/bf65cdd50a164e2f271425f92596e7ad70d4ffd9/calendar-alarm-dialog.js/buggy/calendar/base/content/calendar-alarm-dialog.js