add autoclose for nerdtree