Dialogs of NativeActions now properly run on UI thread.