Tag script field: don't auto-focus when switching pages
Auto-select contents of tag script field on manual select

fixes #1867