Furthermore, it's not great to put javascript in html attributes.  It would be better to do something like `$modal.find('button').click(function () { ... })`