I needed to use a Backbone.js view in a modal dialog. So I wrote a view base class that gives you a showModal() function