To use the dialog component, you must be using a browser that supports the
dialog element. Only Chrome and Opera have native support at the time of
writing. For other browsers you will need to include the dialog polyfill
or create your own.