Set properly the selected folder using edit mode in move to dialog