setting dired-mode