add `changeMode` event