add a timer to quit the application

Fixes #385
Fix color dialog test that never quits

Remove timer to avoid race condition so that test quits after
dialog is shown.

Fixes #385
Merge branch '385-color-dialog-hang'