Issue #20996:allow managment of documents in view mode