     private var messagingController: SectionEditorWebViewMessagingController!
     private var menuItemsController: SectionEditorMenuItemsController!
     private var navigationItemController: SectionEditorNavigationItemController!
+
+    private var mediaWizardController: MediaWizardController?
     
     lazy var readingThemesControlsViewController: ReadingThemesControlsViewController = {
         return ReadingThemesControlsViewController.init(nibName: ReadingThemesControlsViewController.nibName, bundle: nil)

    }

    func mediaWizardController(_ mediaWizardController: MediaWizardController, didTapCloseButton button: UIBarButtonItem) {
        dismiss(animated: true)
    }
}


extension SectionEditorViewController: SectionEditorInputViewsControllerDelegate {
    func sectionEditorInputViewsControllerDidTapMediaInsert(_ sectionEditorInputViewsController: SectionEditorInputViewsController) {
        mediaWizardController = MediaWizardController()
        mediaWizardController?.delegate = self
        mediaWizardController?.prepare(with: theme)
    }
}

