Modal is a modal permissions framework written in JavaScript.