generic view delete