The dialog plugin has the following custom events:
create
$( ".selector" ).bind({ create: function(event, ui) { ... } });