add delete function

already looking at a rewrite- SelectionModel does not properly handle
when the selected object is removed from the ListView- something is
still selected, though not the deleted item, but the view shows nothing
selected.
fix listview update after delete