Error - "Attempt to create a document manager when the current document view is not attached."