Simple implementation of a modal dialog that can be used as a non-direct replacement to the deprecated window.showModelDialog() API.
This is a fork of https://github.com/Mehuge/showModalDialog, with lots of changes to make it more useful.
Requirement: es6-promise, https://github.com/stefanpenner/es6-promise jQuery, https://github.com/jquery/jquery