Issue #223: Backport Views use of new modal dialog framework.
Merge pull request #206 from quicksketch/223/views-dialog

Issue #223: Backport Views use of new modal dialog framework.