[cat-775] execute once dialog added to upload process.

jenkins test successful:
https://jenkins.catrob.at/view/All-Categories/view/Catroid-multi-job/job/Catroid-Multi-Job-Custom-Branch/1572/
(the pmd warning already removed).