enable edit button in chart page