added new form mode toggle to config class