Fix warning dialog