Remove redundant code
A first input in a dialog is focused automatically, no need to add code for this