Prevent asynchronously added error messages from stacking after the [x] is clicked