add: curInst.saveSelection(); 
context: 	loadContent: function(){		var curInst = dojo.widget.Editor2Manager.getCurrentInstance();		this.tableNode = dojo.withGlobal(curInst.window, "getSelectedElement", dojo.html.selection);		if(!this.tableNode || this.tableNode.tagName.toLowerCase() != 'table'){			this.tableNode = dojo.withGlobal(curInst.window, "getAncestorElement", dojo.html.selection, ['table']);		}		var tableAttributes = {};		this.extraAttribText = "";		if(this.tableNode){			this["table_rows"].value = this.tableNode.rows.length;			this["table_rows"].disabled = true;			this["table_cols"].value = this.tableNode.rows[0].cells.length;			this["table_cols"].disabled = true;			if (this.tableNode.caption){				this["table_caption"].value = this.tableNode.caption.innerHTML;			}else{				this["table_caption"].value = "";			}			var width = this.tableNode.style.width || this.tableNode.width;			if(width){				this["table_width"].value = parseInt(width);				if (width.indexOf('%') > -1){					this["table_widthtype"].value = "percent";				}else{					this["table_widthtype"].value = "pixels";				}			}else{				this["table_width"].value = "100";			}			var height = this.tableNode.style.height || this.tableNode.height;			if(height){				this["table_height"].value = parseInt(width);			}else{				this["table_height"].value = "";			}			var attrs = this.tableNode.attributes;			for(var i=0; i<attrs.length; i++) {				if(dojo.lang.find(this.editableAttributes, attrs[i].name.toLowerCase())>-1){					tableAttributes[attrs[i].name] = attrs[i].value;				}else{					this.extraAttribText += attrs[i].name + '="'+attrs[i].value+'" ';				}			}		}else{			this["table_rows"].value = 3;			this["table_rows"].disabled = false;			this["table_cols"].value = 2;			this["table_cols"].disabled = false;			this["table_width"].value = 100;			this["table_widthtype"].value = "percent";			this["table_height"].value = "";		}		for(var i=0; i<this.editableAttributes.length; ++i){			name = this.editableAttributes[i];			this["table_"+name].value = (tableAttributes[name] == undefined) ? "" : tableAttributes[name];			if(name == 'height' && tableAttributes[name] != undefined){				this["table_"+name].value = tableAttributes[name];			}		}		return true;	},
meta: 4707	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4707/50c3492c4c3c825dbd3401e134a19ed46799c456/InsertTableDialog.js/buggy/www/resources/dojo-ajax/src/widget/Editor2Plugin/InsertTableDialog.js