Handle returned by mountToolbar for external control of the toolbar.
Tears down the component and removes all event listeners.
Syncs the undo/redo button state with the current editor state.
Updates the search match counter (e.g. "1 / 42").
Handle returned by mountToolbar for external control of the toolbar.