jquery UI dialog and dragable element inside it.

jquery UI dialog and dragable element inside it.


Hello All
I have following issue. I have jquery ui dialog. inside it there is
list of items. Each item shoud be draggable
outsite dialog. This dialog show possible list of items that could be
inserted to some other element outsite dialog.
When dragging item and leaving bounds of dialog it disappears
visually. Drop event works but visually it is not available. As I
understand this is because of the dialog container. How could I fix
this issue? May be some options.
Code is simple as possible:
$("#dialog").dialog();
$('#lblName').draggable({
            revert: 'invalid',
            containment: 'document',
            helper: 'clone',
         cursor: 'move',
            zIndex: 1200
        });