Can this be a property of `Portal.ui.MainToolbar`, rather than in here?