We're changing visibility of this one to public here so that we can call it from the toolkit when clicking accept/cancel buttons. We don't want to friend the toolkit because we don't want it to later get (accidentally) more entangled with mode internals. At the same time, we're not sure whether we want to make theUEdModeone public. So this is the minimal-impact tweak.