fixing problem with chart loading to directly load correct form and update to how new elements are added