Browser reopen closed tab/window command?

Is there any possibility of inclusion of a reopen closed tab / window command? I find myself using the browser control commands quite a bit more than I anticipated because they are ridiculously convenient. I has a medical condition that results in frequent hand spasms so I am frequently accidentally closing tabs and windows. This is something I think would be pretty easy to code as a plug-in, but I mention it because I’m a little surprised that it’s not included as one of the default browser commands.