Create a hidden field with the name SaveOptions and make it computed with value "0" (zero in quotes).
Note that this will let the user close the document without prompting for a save, but it will not save the document. You have to manually save the form via script or an @Command if you really want to save the document.