If you click on the last node again, it deletes it