Avoided re-closing document