add confirmation for deleting the library