Can now handle nested subitems with actions tied to them