added dialog polyfill