Executes a dialog to select multiple files that can be used afterwards for SCOUT actions.
In 'dir' you can provide the intial path for the search, 'pattern' specifies a filename search pattern.
The selected filenames can be used afterwards using the functions 'foundfiles' and 'found_filename'.