Opening file in (g)vim should not make the tree dirty by itself.
Attach a file by drag & drop or click to upload