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