showModalDialog Polyfill using <dialog> element