Add popover to document types