after closing the document Found by: zhangjf Patch by: zhangjf (cherry picked from commit 33d9584b) Change-Id: I131a17276f33059eb944fc34272c50f838b6973f