Selecting other contexts now works :)
The value of "Select context" should be the desired resource's id in the mdl_course_modules table