Added support for dialog element

IE8 does not like `<dialog>`. This adds some love for it.