Resting uses a lot of dialogs. It would be useful to create a general dialog Knockout.js component to simplify application code