How to disable header/footer removal warning?

I often remove headers and footers and I find it annoying that I have to fend off the warnings every single time. Changes are easily reversible by clicking “Cancel” until “OK” is clicked anyway, so more than enough safety for an experienced user is provided anyway, and because of above I think it would make a lot more sense to show the warning when “OK” is clicked.