// The wrapper function expects only one file or directory to be selected. Useful for save file or open directory // dialogs. // If a file is selected, the accept callback is invoked. // If multiple ...