         duration: 250
         complete: (elements) ->
           $(node).remove()
+          $('html').removeClass 'modal--opened'

          opacity: 1
        ,
          duration: 250


  removeDOMElement: (parent, node) ->

        duration: 250
        complete: (elements) ->
          $(node).remove()
          $('html').removeClass 'modal--opened'

    else
      # slide out panel to the bottom
