Make Simantics/UI.showDialog work from any thread
Currently SCL function Simantics/UI.fileDialog
, aka ModelingUtils.fileDialog()
in Java, throws an exception unless called from the SWT UI thread. It should internally handle synchronization to the UI thread.