Creating first event fails because of empty title
Steps to reproduce
When creating an event for the first time, this sometimes fails in the backend because of empty metadata. So far, this could only be reproduced in Firefox and doesn't happen every time. Apparently the metadata is not correctly saved in the userdata array when editing a metadata field, causing it to also not appear in the summary.