Added a directory chooser dialog instead of a preset directory