close ducument