A modal dialog library written in JavaScript