Fixed bug: prompt user before deletion, was deleting in both cases.