If you weren’t already aware, Google have made the decision to remove the
showModalDialog() API from Chrome, which came into force with version 37. You can read the announcement for the move here:
And a discussion on the issues here:
In addition to this, Mozilla have also indicated that they are to drop the API, so we better get used to it.