Add the UI to select the output directory.