Lets say you have 2 files open, file X and Y
X has been modified and not saved
Y has not been changed, and is currently my selected tab.
If I close Notepad++
X will take focus asking me to save.
If I then Cancel
The Title Bar will still have the URL of File Y in it,
even though File X is now my selected tab.