modal sm bootstrap 3 code example Example: bootstrap on hidden bs modal $('#myModal').on('hidden.bs.modal', function (e) { // do something... })