That has happened to me so many times, I should know better, but it still gets me. When I'm working in a document, I don't want to undo some other document. I just want to work on the document I'm working on. This is such a horrible "feature" that it really is a bug.