TextFieldTextEditor: fixed issue where calling dispose() more than once resulted in a runtime error because textField was null