How to create a confirm popup when delete item with field collection?
Here is what i did, to handle the deletion of a field collection item for a node:


Created a hook of type hook_node_view() in my custom module and
overridden the delete link for the field collection items, so that
they point to a custom path, that is declared in my custom modules
hook_menu().
Now the custom path is mapped to a template file (passing the field
collection item id).
The logic inside the tpl file processes the deletion of field
collection item (passed by id) using entity_delete_multiple() and
sets a custom message to be displayed back to the node view page.


more details