add dropdown-menu with sub items if needed.