@omz, is it a trivial matter to get your DropboxFilePicker utility to work synchronously rather than on ui.background. Well, the real question, can it easily be made to work so that wait_modal works. Want to include into a step as part of a bigger process. I have had some feeble attempts to modify, without much luck. First thing I tried was just to comment the @ui.background wrappers. I am sure, a bit more needs to be done.
Look, I know you must be busy. But if it's simple, would be great to have it. I also think also could benefit the community. If it's something you don't have time for. That's fine, with your permission, I will try and cut up your code and try again.
The gist at Pythonista Tools Repo/site