Change event to listen to addWarning