add:  SetWindowLocation(); 
context: function Startup(){  if (!InitEditorShell())    return;  dump("EditoreditorShell found for dialog\n");  // Get the spellChecker shell  spellChecker = editorShell.QueryInterface(Components.interfaces.nsIEditorSpellCheck);  if (!spellChecker)  {    dump("SpellChecker not found!!!\n");    window.close();  }  // The word to add word is passed as the 2nd extra parameter in window.openDialog()  WordToAdd = window.arguments[1];    //XXX CAN'T GET Enter or Esc keys to bind to "Close" button!  doSetOKCancel(Close, Close);  WordInput = document.getElementById("WordInput");  DictionaryList = document.getElementById("DictionaryList");    WordInput.value = WordToAdd;  FillDictionaryList();  // Select the supplied word if it is already in the list  SelectWordToAddInList();  SetTextfieldFocus(WordInput);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/5eafc0feeb5eafc3a8dec8ecd2e935e7be206733/EdDictionary.js/buggy/editor/ui/dialogs/content/EdDictionary.js