added attachment delete event handling
initial commit of attachment hooks
added attachment hooks