SystemDialogInputAsync
Wolfram Kernel
SystemDialogInputAsync[type_String, opts___]is an asynchronous version of SystemDialogInput that returns a Promise. It automatically uses the current window, so a window reference is not required.
For example, select multiple files and display the result when the operating-system dialog closes:
SystemDialogInputAsync["OpenList", Null] ~Then~ (MessageDialog @* ToString)This feature is available only in the WLJS Notebook desktop application.