Do instead of suppress warning:
`new ConstrainedModal(modal);`