[FIX] web: missing backport of rev df3c6b750249

[FIX] web: do not try to close a destroyed dialog. trigger "closing" signal on close by top-right "X" button
Merge branch '7.0' of https://github.com/odoo/odoo into 7.0-win32