   openSaveDialog: ->
 
     file = @getData()
-
-    KD.utils.showSaveDialog this, (input, finderController, dialog) =>
+    container = @getOptions().delegate or this
+
+    KD.utils.showSaveDialog container, (input, finderController, dialog) =>
 
       [node] = finderController.treeController.selectedNodes
       name   = input.getValue()

      iconOnly        : yes
      iconClass       : 'cog'
      type            : 'contextmenu'
      delegate        : this
      itemClass       : AceSettingsView
      click           : (pubInst, event) -> @contextMenu event
      menu            : @getAdvancedSettingsMenuItems.bind this

    @listenWindowResize()

    aceOptions        =
      delegate        : options.delegate or this
      enableShortcuts : yes
      createFindAndReplaceView : options.createFindAndReplaceView

