Adds property to control modes in chat write panel.