Adds a document preview popup to document list view and subpanels.