Clear an alerts set on router state change.