 
   hide: ->
     @panel?.hide()
+
+  # Tear down any state and detach
+  destroy: ->
+    @element.remove()
+    @panel?.destroy()
 
   @show: (p$items) ->
     Promise

  getFilterKey: ->
    "label"

  # todo [akamel] remote from work space on done
  show: (items) ->
    # Now you will add your select list as a modal panel to the workspace
    @panel ?= atom.workspace.addModalPanel(item: this)

            )

            ret.show(items);
          ).finally(->
            ret.destroy();
          );
      )

