twitter/bootstrap — pull request #4446 by defeated (2012-08-18 20:02:52+00:00)
Title: don't open modal if the trigger link/button is disabled.

If a link or button with `data-toggle="modal"` is `disabled`, this prevents the associated modal dialog from being displayed. (Similar to how dropdowns already work.)