     $element.closest('.up-popup').length > 0
 
   ###*
-  Opens the target of this link in a popup overlay:
-
-      <a href="/decks" up-modal=".deck_list">Switch deck</a>
+  Opens this link's destination of in a popup overlay:
+
+      <a href="/decks" up-popup=".deck_list">Switch deck</a>
 
   If the `up-sticky` attribute is set, the dialog does not auto-close
   if a page fragment below the popup overlay updates:

    open even if the page changes in the background.
  @param {Object} [options.history=false]
  ###
  open = (linkOrSelector, options) ->
    $link = $(linkOrSelector)
    
    options = u.options(options)

    up.animate($popup, animation, animateOptions)
    
  ###*
  Attaches a popup overlay to the given element or selector.
  
  @method up.popup.attach
  @param {Element|jQuery|String} elementOrSelector
  @param {String} [options.url]
  @param {String} [options.position='bottom-right']
