Maybe it could be optional, for example, a checkbox in the modal where you confirm the deletion that offers anonymization prior to deletion.