switched autoclose for smartinput