done custom dialog to show material list - face error with database structure error ( skill_material lack of course_id)