You may want to extract this callback onto a function on the EditAndDelete.