dialog box + jshint + book preview