Add TextBuffer::onDidChangeModified