clear alerts when re-rendering table