Fixing problem where control changes are not being recorded, introduced in jQuery Ui 1.10 update.
Merge pull request #382 from spekary/bugfix-dialog

Changes to controls in dialogs not be record, introduced in jQuery Ui 1.10 update.