Added logic to ask the user if they are sure before deleting a row.
Added logic to ask the user if they are sure before deleting an item.