add sidebar to chart edit template