     $(@el).find(".is-selected").removeClass("is-mediaFocused is-selected")
     $(element).addClass("is-selected")
 
+    ###
     if $(element).prop("tagName").toLowerCase() is "figure"
       $(element).addClass("is-mediaFocused")
+      n = utils.getNode()
+      utils.log n
+
+      n = utils.getNode()
+      utils.log n
+      if _.isUndefined n
+        $(element).addClass("is-mediaFocused")
+      else if $(n).prop("tagName").toLowerCase() is "figcaption"
+        $(element).removeClass("is-mediaFocused")
+    ###
 
     $(element).find(".defaultValue").remove()
     #set reached top if element is first!

  handleMouseUp: (ev)=>
    utils.log "MOUSE UP"
    anchor_node = @getNode()
    utils.log anchor_node
    utils.log ev.currentTarget

    return if _.isNull(anchor_node)



    #hides tooltip if anchor_node text is empty
    if anchor_node
      unless _.isEmpty($(anchor_node).text())
        @tooltip_view.hide()
        $(anchor_node).removeClass("graf--empty")

  handleKeyUp: (e , node)->
    utils.log "KEYUP"
