allow iframe popups
move link popup feature to text.js to enable preview
enable preview for link popups