re-usable dialogs

Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
fix pyflakes

Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
Merge pull request #180 from Ubuntu-Solutions-Engineering/feature-reusable-dialogs

re-usable dialogs