Is this is what you what for generating the id in the caldav lib?
I thought it might be not.

But we do this for having a simple way to return the object to the UI layer(modify_account.js) directly.
Then the UI layer(modify_account.js) could abort the request more easily.
How do you think?