Fixed dialogs invoked from separate thread, this would lead to a deadlock