jquery/jquery-ui — pull request #1234 by jzaefferer (2014-04-24 17:27:00+00:00)
Title: Dialog demo updates

The first two commits are trivial and I only have them here as I have another dialog demo commit that needs review.

Apart from review I also need some help. I tried to adopt the submit-handler from the tabs manipulation demo to allow enter keypress to submit and close the dialog. This only works if I add a submit button to the form, otherwise nothing happens on enter. Since this works on the tabs manipulation demo, it should work here, too.