Blank page after resolving user creation modal


I have a problem creating users, where the user modal does not get attached to the page and when submitting or cancelling it redirects to a blank page (with an empty json object I think) instead of going back to the users page.

The user is created successfully but the problem is the redirection even if I cancel the modal.

I had the same problem but on a modal I called from my own sprinkle but I solved it by calling the attach user form code after the call to ufModal, so I guess the problem comes from the main sprinkles.

I extended the user form following the tutorial, and it worked fine until I tried it today.


Edit: The same problem happens when I try to edit the user, displaying a JSON object with the data of the user:


Thanks in advance.