preselect text and set tab order (fixes #171)