Save document popup does not correspond to the current document
When closing a document that is not the current working document, the save dialog pops up but the only the currently active document is shown making it difficult to see which document the save dialog refers to. This is handled correctly in Photoshop but not Illustrator
Repro:
Open Illustrator
Create two new documents
With the type tool write on the empty artboard of the first untitled doc "Important work"
Click on the document tab for the second untitled document and with the type tool write on the empty artboard "Useless garbage"
While viewing the 'Useless garbage' doc, click on the close X of the other document tab.
Observe the save popup asking if you want to save changes to the file and notice that the document shown behind the pop up shows 'Useless garbage'
Click 'No' on the save popup
Result: You have now lost 'Important Work'
Repeat the same steps in photoshop and notice that when closing the background document the view changes to the relevant window allowing you to see the document that you are about to save or discard.