Fixed #122, Set Focus correctly on Modal Dialogs