Reworked FormatControls.js to use addButton instead of UI Factory.