Add undo history for create Subflow