Choose the right target dir on dired operations