zotonic/zotonic — comment on commit d81cf8d6132c0d71729be04a495879e6658f9e28
File: modules/mod_base/lib/js/modules/z.dialog.js line 93
By kaos:

For me, this always selects the last text input of the dialog.

Suggest adding a `:first` filter: http://api.jquery.com/first-selector/