The dw.closeDocument(tempDOM); in the apply template section of the buildPages function on the wasap_wizard.js file was causing an issue. Removing the function call prevented the issue. The pages will get saved and created correctly, but will not be closed after.