Fix: "modified" icon (floppy) is not synchronized between different windows
Review Request #129754 - Created Jan. 2, 2017 and submitted
When adding a tab, setting the modified flag for the tab was missing, see bug #374229. This patch fixes this.
Seems to work now.