use ui: 'headermode' for mode toggle buttons (style is a bit whacky, but shows the difference at least)