adds delete functionality to view survey page (it was mistakenly disabled in my last update)