make warning dialog suppressable