Implement delete, cancel and done buttons in edit component