Using native file dialog for selecting files and folders