"Bootstrap modals could be activated declaratively without writing a line of JavaScript."
Bootstrap documented activating modal behavior through data attributes in markup, showing how the framework hid JavaScript implementation behind a simpler interface. + Source is the Bootstrap 2.0.0 documentation released in 2012.
View Source