bengourley/modal.js — pull request #11 by kuba81 (2014-03-03 13:43:13+00:00)
Title: Added beforeClose event

It is now possible to perform clean-up operations right before modal gets destroyed. The tests attached document how to use this new functionality.