refactor(webdesk): Use new API from DocManager (refs #4701)