Need to call removeAttachCallback after deleting an attachment