Fixed bug where canceling the 'change directory' dialog resulted in a listbox error.