Do not create an export options widget if the current thread is not the gui thread
If the current thread is not a gui thread, askUserAboutExportConfiguration
should always return false.
BUG:395397
(cherry picked from commit 6dbaba42211aa245bd6198edb921c633b4fe3c28)