Dont use this: PAGE->requires->jquery() or any variation of it - that is for old Moodle plugins.
This page is useful to read before reading the one about the AMD modals: https://docs.moodle.org/dev/Javascript_Modules
Dont use this: PAGE->requires->jquery() or any variation of it - that is for old Moodle plugins.
This page is useful to read before reading the one about the AMD modals: https://docs.moodle.org/dev/Javascript_Modules