delete selected edge/node

if selected edge or node is deleted it’s automatically deselected;