Manually focus the dialog when opening it.