save warning state