ENYO-3082: reset docData when closing doc.
ENYO-3082: fix closeDoc regression