track delete/edit buttons placed
refactoring