rem: this.dialogId = parameters.id ? parameters.id : 'modal_dialog' 
add: this.dialogId = parameters.id ? parameters.id : 'modal_dialog'; 
context: 	_openDialog: function(content, parameters) {		// remove old dialog		if (this.win) 			this.win.destroy();    if (! parameters.windowParameters.height && ! parameters.windowParameters.width) {      parameters.windowParameters.width = WindowUtilities.getPageSize().pageWidth / 2;    }    this.dialogId = parameters.id ? parameters.id : 'modal_dialog'    // compute height or width if need be    if (! parameters.windowParameters.height || ! parameters.windowParameters.width) {      var size = WindowUtilities._computeSize(content, this.dialogId, parameters.windowParameters.width, parameters.windowParameters.height)  		if (parameters.windowParameters.height)  		  parameters.windowParameters.width = size + 5		  else		    parameters.windowParameters.height = size + 5    }		var windowParam = parameters && parameters.windowParameters ? parameters.windowParameters : {};		windowParam.resizable = windowParam.resizable || false;				windowParam.effectOptions = windowParam.effectOptions || {duration: 1};    windowParam.minimizable = false;    windowParam.maximizable = false;    windowParam.closable = false;		this.win = new Window(this.dialogId, windowParam);		this.win.getContent().innerHTML = content;  	this.win.showCenter(true, parameters.top, parameters.left);			  		this.win.cancelCallback = parameters.cancel;		this.win.okCallback = parameters.ok;				return this.win;			},
meta: 1654	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1654/2484c8f5e13b095420895e8211b280abbd2726e3/window.js/buggy/javascript/window/window.js