Bind 'click.dismiss.modal' to [data-dismiss="modal"] on modal show.

Fix for #9362 with test.

Updated fiddle with my changes.

http://jsfiddle.net/retro/sBt2A/