jquery modal get firing element on close code example Example: jquery close bootstrap model $('#modal').modal('hide');