POC: using context managers to cleanup repeat UI

Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
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 #179 from battlemidget/patch-contextmanager

POC: using context managers to cleanup repeat UI
Merge pull request #180 from Ubuntu-Solutions-Engineering/feature-reusable-dialogs

re-usable dialogs