Add indication of modified state to window title.