ui - Dialog

ui - Dialog


Hello community;
I have the following problem once invoke a dialog () after closing it
again to call does not work that may be
This is the source code
jQuery('tab').click(function(){
optionSelect = '#select'+jQuery(this).attr('car');
optionList = '#list'+jQuery(this).attr('car');
optiontype = '#type'+jQuery(this).attr('car');
jQuery('#aspecto').attr('title',jQuery(optiontype).attr('value'));
jQuery('#aspecto').dialog({
bgiframe: true,
height: 220,
width: 350,
modal: true,
overlay: {
backgroundColor: '#000',
opacity: 0.5
}
});
});
The first time that the label preciona works, but not the second time
Thank you very much for your help