rem: var bDiv = this.buttonPanelNode; if (bDiv.firstChild) { bDiv.removeChild(bDiv.firstChild); }; var panel = dojo.widget.createWidget( 
add:   self.btnPanel = dojo.widget.createWidget( 
context:         setButtons: function (l, c, r) {            this.btnsLeft = l || this.btnsLeft;            this.btnsCenter = c || this.btnsCenter;            this.btnsRight = r || this.btnsRight;            var bDiv = this.buttonPanelNode;            if (bDiv.firstChild) {                bDiv.removeChild(bDiv.firstChild);            };            var panel = dojo.widget.createWidget(                'ButtonPanel', { btnsLeft: this.btnsLeft, btnsCenter: this.btnsCenter,                btnsRight: this.btnsRight }, bDiv, 'last');            return true;        },
meta: 1859	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1859/caaf52bc9334f250f0244b44a7b5e7fbc838434a/ModalDialog.js/clean/src/webapp/js/cosmo/ui/widget/ModalDialog.js