Stuck on restoring history

Hello, I’m trying to restore a document from the history and the file is stuck on this. What should I do so as not to ‘mess up’ the document? Is closing the file in this case an option?

I’m on a mac, using the app.

Even I am face the same problem.