added alert box to handle deletes
added alert box to handle deletes