text: Add activate/deactivate events

Let the client know when a text model gets activated or deactiavted.
3 files changed