HTML-dialog speed

edit: I hope its my crappy code and not the nature of html dialogs. That would be too bad. Up til now, I would press the shortcut and already started typing a name while looking at the keyboard or something else. In v17, I press the shortcut and have to look at the screen before I can start typing. Seems a small difference but it’s a bit annoying and would be nice if it could be solved. An alternative would be to use the Inputbox again and change the order of the dropdown and textbox so the cursor is active when starting the tool.

I don’t use jQuery. I stripped the code from some excess stuff.

Here’s the zip. Extract in Extension folder. Load by:
load 'mb_namegroup17/mb_namegroup17.rb'

mb_NameGroup17.zip (2.4 KB)