Ch 653 - page variations

Refactored dialog functionality to make it re-usable across Lift modules.