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