Bugfix: Wrong file content was saved when closing a modified tab that was not active and answering "Yes" to the save question