Fix not unique id on modale causing wrong modale name

Version 02 for Moodle 3.7. (3.7.1).