ui: allow tab to change message mode in message window