Check modified before File -> Close happens.