Implement Edit action for items.