Added deletion confirm. Fixed invalid name error.