convert final modals (except mini-doc-viewer) on the captable