MDL-42835 mod_scorm: Close tree nodes using TreeView API