rem: if (gDialog.labelText.value) editor.InsertNode(document.createTextNode(gDialog.labelText.value), labelElement, 0); 
add: if (gDialog.labelText.value) { var textNode = editorShell.editorDocument.createTextNode(gDialog.labelText.value); editor.InsertNode(textNode, labelElement, 0); editorShell.SelectElement(labelElement); } 
context: function onAccept(){  // All values are valid - copy to actual element in doc  ValidateData();  editorShell.BeginBatchChanges();  editorShell.CloneAttributes(labelElement, globalElement);  if (gDialog.editText.checked)  {    var editor = editorShell.editor;    while (labelElement.firstChild)      editor.DeleteNode(labelElement.firstChild);    if (gDialog.labelText.value)      editor.InsertNode(document.createTextNode(gDialog.labelText.value), labelElement, 0);  }  editorShell.EndBatchChanges();  SaveWindowLocation();  return true;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/839fd1768cc3e3d4445e01452908b6c9e7a601c3/EdLabelProps.js/clean/editor/ui/dialogs/content/EdLabelProps.js