added comfirmation for deleting nodes