In your code, you're trying to reinitialize the dialog on each click,
which won't work (as you've noticed). What you want to do is create
the dialog with the autoOpen option set to false. Then in your click
event you would call .dialog('open') to open the dialog:
jQuery('#aspecto').dialog({
autoOpen: false,
bgiframe: true,
height: 220,
width: 350,
modal: true,
overlay: {
backgroundColor: '#000',
opacity: 0.5
}
});
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('open');
});