DlgModel renamed to DocumentModel