Question: How can I add a close button to a draggable/resizable div? 

I understand that I am essentially describing a dialog, but I have to be able to take advantage of a few of the properties of resizable/draggable (such as containment) that are not a part of dialog.

Any ideas?

Answer: 
You can use multiple class names (a perfectly normal thing to do), but are only allowed one class attribute on your HTML element. 

Do this instead:

```
<a href="#" class="paren defaul">text</a>

```
There's no need for two class statements, simply:

```
<a href="#" class="paren defaul">text</a>

```

Now, in order to handle this in CSS you need to do this:

```
.paren.default{
}

```

...Whithout spaces between the two class selectors. 
Cheers!