Fixes issue #121
Instead of first submitting the images, the rest of the data is submitted as JSON and afterwards the images with the new event id (if a new event is created).
Instead of first submitting the images, the rest of the data is submitted as JSON and afterwards the images with the new event id (if a new event is created).