add modal-open to body code example Example: add modal.open class to body this.$body.addClass('modal-open')