Is it possible to make a sortable/draggable portlet that includes a menu and/or a close/remove button?

Is it possible to make a sortable/draggable portlet that includes a menu and/or a close/remove button?

I'd like to be able to create a set of portlets that have menus at the top of each of them.  Ultimately, I'm looking to make something like the iGoogle gadget interface, of moveable windows that display some basic info.  I've seen the portlets demo at the link below, but can't see an obvious way to customise them.


Can anyone tell me if this is possible with jQuery or jQuery UI, and point me in the right direction for a bit of further info?  Your help will be much appreciated.

Many thanks,
Richard