Do not execute script embedded in html string in dialog content until the content is finalised.