Google removed the showModalDialog in Chrome 37. However, many legacy web applications use this API. This is a simple shim to map showModalDialog calls to window.open().