Undo/Redo functionality

I don't know of any issues with it, outside of it creating an extra entry in the undo history if the user selects something for deletion and then hits no on the confirmation window.