support for modal links and images - disable all controls when in html mode