Appending the content when there is alert.