bootstrap 4 check if modal show transition complete code example Example: check if modal hide jquery alert($('#registration-exams-modal').hasClass('show'));