connect_delete_view function

Deletes the view entirely