auto close previous dired buffer when open a new