Changed type in ShowVirtDlg... to TermTypes