image dialog: focus before insertImage