[3.8] Fix #1625 : Append javascript autocompleter to edit dialog box