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

Fix #9362