11.24 refactor exit dialog

successful jenkins run: https://jenkins.catrob.at/view/Paintroid/job/Paintroid-custom-branch-test/768/