Undo/redo creating and deleting subdirectories working.