       @tabView.addPane pane = new KDTabPaneView
         name     : item.title
         cssClass : 'AppModal-content'
-        view     : new item.viewClass item.viewOptions, item.viewData
+        view     : subView
 
       @panesByTitle[item.title] = pane
 

KDTabPaneView    = kd.TabPaneView
KDCustomHTMLView = kd.CustomHTMLView


PANE_CONFIG = [
  {
    title       : 'General'
    viewClass   : KDView
    viewOptions : partial: 'General'
  }
  {
    title       : 'Advanced'

    viewOptions : partial : 'Shared VM'
  }
]


module.exports = class MachineSettingsModal extends KDModalView
