rem: this.dialogId = parameters.id ? parameters.id : 'modal_dialog'; 
add: if (parameters.id) this.dialogId = parameters.id; else { var t = new Date(); this.dialogId = 'modal_dialog_' + t.getTime(); } 
context: 	_openDialog: function(content, parameters) {	    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;	    windowParam.modal = windowParam.modal && true;		this.win = new Window(this.dialogId, windowParam);		this.win.getContent().innerHTML = content;	  	this.win.showCenter(windowParam.modal, parameters.top, parameters.left);			this.win.setDestroyOnClose();		this.win.cancelCallback = parameters.cancel;		this.win.okCallback = parameters.ok;		if( parameters.autoclose ) {			windowDialog = this.win;			setTimeout( 'windowDialog.hide()', parameters.autoclose );		}		return this.win;			},
meta: 2938	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2938/37f969c8a2514ac1a945d3e03299fb5ac19ed578/window.js/clean/virtuemart/js/windows/window.js