add autofocus for text input