Pass mode options to OnModeChange hook