In Google Chrome browser you can reopen closed tab by pressing Ctrl+Shift+T. I wrote extension to make it work with Ctrl+Z - this hotkey is using in Opera. You can install the extension from here.
If text cursor is in text field while Ctrl+Z is pressed, it will undo changes, as normally. Only if nothing can be undone, the hotkey is passed to the extension.
You should restart your browser after installing this extension, otherwise it will not work on pages opened earlier.