Messages and dialogs can interrupt the "flow" of a script.
If you turn this On make sure you build error checking into your script.
Building effective error checking requires in depth understanding of each script step you use, the errors that can be thrown, and how to handle them to ensure ACID. ACID - Wikipedia, the free encyclopedia
Specifics on how to make any script uninterruptable depend on the script steps used.