but, make sure you always reset to true right after your items you need to have it turned off for. Otherwise, it won't warn you EVER for anything and if you modify code, forms, etc. it won't warn you if you make changes and then forget to save. It will just close without saving.
I always put the set true part in the error handling for any event I've disabled the warnings as it prevents problems where something glitches in the code between the set warnings and will reset them after an error, otherwise you may find yourself without any warnings at all.