Use DirDialog and fix initial path (#2348).