Remerge strings.
When switching classes, warn user about all unapplied document changes

Currently, this is limited to modules.

Part of #9356.