add support for sending 'html' rather than a URL to the Nifty.Dialog.open method