switched autoclose for delitmate