fixed issue with misses to the warning dialog not getting the right message to the user