Still shows "files changed" after all Undo

I just opened the document, made some minor changes to it and then pressed Command+Z until there were no more Undo option available. However, it still shows me that this document contains changes.

Then it will ask: " Do you want to save the changes made to the document" if I close it.