Docs for $.modal.isActive()