cleanup dired mode