add edit button on sidebar (not working)