Document manager closing removed