Used wxFilePickerCtrl instead of text control in rename dialog.