 
         options.id = vex.globalID
         vex.globalID += 1
+
+        # Vex
+
+        options.$vex = $('<div>')
+            .addClass(vex.baseClassNames.vex)
+            .addClass(options.className)
+            .css(options.css)
+            .data(vex: options)
 
         # Overlay
 

        $vexContent = vex.getVexByID id
        return unless $vexContent.length

        $vexOverlay = $vexContent.data().vex.$vexOverlay

        options = $.extend {}, $vexContent.data().vex


                return unless e.target is @
                vex.close $(@).data().vex.id

        options.$vex.append options.$vexOverlay

        # Content

        options.$vexContent = $('<div>')
            .addClass(vex.baseClassNames.content)
            .addClass(options.contentClassName)
            .css(options.contentCSS)
            .append(options.content)
            .data(vex: options)

        options.$vex.append options.$vexContent

        # Close button

