Warning does not mean undo
There’s a really interesting article recently posted on A List Apart called “Never Use a Warning When you Mean Undo”. Generally speaking it is about overuse of warnings and not allowing users to undo the operations.
It is (as always?) already clearly stated in the Apple Human Interface Guidelines that the only reason to display a warning is an unrecoverable or a very long operation. That simply implies the fact that undo should be available to most of the system commands. As always Apple was first, but what have been obvious in the desktop space (MacOS X at least) hadn’t been so in the web space till Web 2.0 arrived.
If you are interested go ahead and check the ALA article. If you want more, then Apple HIG site covers even more than needed.