Accidental Raster Deletions

How can I prevent accidental deletions of raster attachments?

I'll be working on a file and suddenly realize that two or more raster references have been detached. And I may not be in a position to undo a bunch of commands to restore the missing raster files.