- fixed Add, edit, and delete, AGAIN

- feature: prompt admin for duplicate material adding