Handle the case where navgroup is created via createWidget inline vs in the view