     @controls = new OUT.QuickJump.Controls(this, @selector, @result_callback)
     this.setDefaultResults()
 
+  deactivate: ->
+    $(@selector).modal("hide")
+
   getDefaultResults: ->
     OUT.quick_jump_modal_defaults || []
 

    else if event.keyCode == @KEY_DOWN
      @parent.moveSelection(+1)
      false

  keyup: (event) ->
    query = event.target.value

    @controls = new OUT.QuickJump.Controls(this, @selector, @result_callback)
    this.setDefaultResults()

  deactivate: ->
    $(@selector).find("input").val("")
    $(@selector).parents("li.dropdown").removeClass("open")

  getDefaultResults: ->
    OUT["quick_jump_#{@type}s_defaults"] || []

