For those who are interested, the upstream bug report has an extension written in Python attached which seems to work well.
-- Epiphany does not warn when closing a window with multiple tabs https://launchpad.net/bugs/51658 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs