I think the below problem is something to do with escaping strings, but i'm hoping someone will confirm that.
i need to append event.id to the submit value like so: /Events/Edit/ + event.id. There is definitely content in the event.id property as it displays correctly the second time i use it.
$('.ui-dialog div.ui-dialog-buttonpane')
.append('<button type="submit" value="/Events/Edit/"'
+ event.id
+ ' class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only" ><span class="ui-button-text">'
+ event.id + '</span></button>');