added feature to warn when deleting entries