There is no secret that on some tutorial sites you can put JavaScript, CSS or HTML code into a dialog…