Listen for the closing of a bootstrap modal code example
Example: Listen for the closing of a bootstrap modal
$('#myModal').on('hidden.bs.modal', function () {
// do something…
});
$('#myModal').on('hidden.bs.modal', function () {
// do something…
});