I've written a blog post that shows a nice way to use Twitter Bootstrap's modal dialog plugin in a Knockout-based application, without polluting your views models with DOM code.
The techniques covered include using ko.renderTemplate to dynamically generate UI, and using jQuery's deferred object to elegantly wait for the modal's return value.
You can read the post here:
http://aboutcode.net/2012/11/15/twitter-bootstrap-modals-and-knockoutjs.html
What do you think about the approach? Are there any improvements or enhancements you'd like to see?