fix the destroy of ajax content
add error, if the text is blank