         tableView.tableFooterView?.hidden = true
         tableView.scrollEnabled = false
         tableView.rowHeight = 50
-        
-        moduleSelectorViewTitle.text = NSLocalizedString("module selector title", comment: "module selector view title")
-    }
-    
-    func addHeadline() {
-        addTextModule(UIFontTextStyleHeadline)
-    }
-    
-    func addSubheadline() {
-        addTextModule(UIFontTextStyleSubheadline)
-    }
-
-    func addBody() {
-        addTextModule(UIFontTextStyleBody)
     }
     
     @IBAction func closeButtonAction(sender: UIButton) {

        return cell
    }
    
    override func touchesEnded(touches: Set<NSObject>, withEvent event: UIEvent) {
        for touch: AnyObject in touches {
            let location = touch.locationInView(moduleSelectorView)
            if moduleSelectorView.pointInside(location, withEvent: event) == false{
                self.delegate?.moduleSelectorViewControllerWasDismissed(self)
            }
            
        }
    }

}


    func tableView(tableView: UITableView, didSelectRowAtIndexPath indexPath: NSIndexPath) {
        
//        switch indexPath.row {
//        case 0:
//            addHeadline()
//        case 1:
//            addSubheadline()
//        case 2:
//            addBody()
//        case 3:
//            addImage()
//        default:
//            addBody()
//        }
//        dismissViewControllerAnimated(true, completion: { () -> Void in
//
//        })
    }

    func tableView(tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
