[python] adds a background progress dialog
Merge pull request #2484 from nuka1195/DialogProgressBG

[python] adds a background progress dialog