inspector: Add a way to disable the warning dialog