fixed delete functionality to remove from list and no longer delete view