The framework now posts a notification when the document should be marked as dirty.