adds prototypes for list delete, with error messages and confirmations