you have
onclick="self.close()"
which will sometimes not load the submission before the window closes… which is why some submissions go through and others don’t
i have yet to find a correct way to close it after form has finished submitting.
you could try setTImeout in a javascript function that closes the window and is called by onClick.