It's even more strange: Apparently there are multiple locations where foundation-contentloaded gets triggered. It doesn't only trigger for dialogs. Some examples:
* When clicking add / remove item on a multifield, the foundation-contentloaded gets triggered for the multifield
* When loading editor.h...