how to call modal close from another modal code example Example: when modal close event $("yourid").on('hide.bs.modal', function(){ // do it here });