Recreating button not working

Recreating button not working

I am having an issue with .button() on the second call for a dialog open function.  On the first pop up the icon is included and the button is enabled, etc.  On the second pop up the icon is not included.  Any ideas?  Here is my code:

$('.ui-dialog-title')
      .append('<span style=\'padding-left:10px\'><button id=\'previous\'></button><button id=\'next\'></button></span>');
                                                                                                   
 $('#previous')
      .button
      (
       {
             disabled    : false,
            text            :    false,
             icons            :
             {
                  primary            :    'ui-icon-triangle-1-w'
             }
      }
);