Image dialog: focus before insertImage