a directory selector like webstorm-directory-selector.
better way to invoke another window's function.