       wrapper     : no
       scrollView  : no
 
-    mainView.addSubView aside = new KDView
+    modal.addSubView aside = new KDView
       tagName   : 'aside'
       cssClass  : 'AppModal-nav'
 
     aside.addSubView navView = @navController.getView()
 
-    mainView.addSubView appContent = new KDCustomHTMLView
+    modal.addSubView appContent = new KDCustomHTMLView
       cssClass            : 'AppModal-content'
 
     appContent.addSubView @tabView = new KDTabView
       hideHandleContainer : yes
 
-    for own sectionKey, section of items
-      @navController.instantiateListItems section.items
+    items = []
+    for own sectionKey, section of NAV_ITEMS
+      items = items.concat section.items
+
+    @navController.instantiateListItems items
+
     modal.once 'KDObjectWillBeDestroyed', ->
       { router } = kd.singletons
       previousRoutes = router.visitedRoutes.filter (route) -> not /^\/Account.*/.test(route)

    name       : 'Account'
    background : yes

  items =
    personal :
      title  : "Personal"
      items  : [



  if oauthEnabled() is yes
    NAV_ITEMS.personal.items.push({ slug : 'Externals', title : "Linked accounts",     listType: "linkedAccounts" })

  constructor: (options = {}, data) ->

    options.view = new KDModalView
      title    : 'Account Settings'
