The thread waits until the non-modal dialog is done and then sends the result without
blocking the main thread. The dialog itself is initialized in the main thread.
This should fix high CPU usage while a dialog is open, not being able to open multiple
instances of a dialog at once and the DBus service locking down while a dialog is open.
xdg-desktop-portal-tde might yet make it into R14.1.3 ;-)
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>