Delete the selected item.