Separate modal / modal-dialog features.

TODO: roll modal-dialog into 'check-answer.js.coffee' ?

[#49442421]
https://www.pivotaltracker.com/story/show/49442421