FinelySliced/leanModal.js — pull request #40 by perchten (2014-01-16 22:06:14+00:00)
Title: Fixes missing event bubbling protection on close buttons

If an event handler is set via delegation on a parent container, as the modal is technically still a child of that container, the close action can lead to an undesirable bubbling. This commit fixes that by adding preventDefault and return false protection to all click events.