I'm trying to delete a file that I have accessed through a link and therefore appears in my Google Docs or Sheets. They are documents that don't appear in my Drive because it has not been explicitly shared to me. So, in order to delete it (or hiding it from the view), I click on the three dots next to it and click remove, and effectively, it disappears. The problem comes when I access again the main page of Sheets or Docs, because the document I removed before appears on the bottom of the directory with some dashed lines in its attributes of the author and last opened date. It is clearer to see in the screenshot attached.
I have tried to add them to my Drive folder and then remove them from there or delete the cookies, because in the Android app doesn't happen this, but neither of them worked out.