Turned modality to ModalityType.DOCUMENT_MODAL.