DAR-1727: fix for toc links opening new window in preview modal