This was initially introduced in OC so that we know which directory to go after we close the editor but this seems unnecessary here in NC as richdocuments is just an iframe which is removed from DOM when we close the document. (cherry picked from commit a5f6569591f11905c75b7cf978f76be12368ba42) Signed-off-by: Andras Timar <andras.timar@collabora.com>