I'm making a small

I'm making a small change to coursepress whereby I put a popup on the units link in the submenu but I can't find where the submenu is created.

The learners we have are clicking on the units link without saving their work, so I'm adding a warning basically.