Ask the user for confirmation before node or link is deleted. A simple message box "Do you want to delete node/link?" [Yes] [No] [Cancel]