When you want to show a modal, then....
...you want to execute code on opening or closing the modal?  Take a look at overlayAsPromised, a jQu...
Tags: overlay, modal, promise, jquery