add editing buttons definition