Refactored hide/show document to ContextualViewModelManager