fix the destroy of ajax content

if a mailto is within the ajax content, the whole document get overriden by email link