close dired after open file