Added a confirmation dialog which is shown when deleting an item