[#93745] Changes to fix open/close folder status when reload the tree