When I run the code UniFileUploadButton1.JSInterface.JSCall('fileInputEl.dom.click', []);  Showmessage('UniButton2Click'); How could I wait for OpenDialog ? I want Showdialog to only fire after OpenDialog closes I need this because I have several situations in which I can only continue the code flow after closing OpenDialog, but it may even be canceled instead of having selected a file