core: Handle multi-mode changes at once.