Add code to save new chart. Update chart template to disable buttons when not needed.
Add code to delete a chart