Refactor zenity call into a separate helper. Fixes #12.