add undo dir