focused ==> autofocus

Partially addresses #772.

Fields are still not focused if the dialogs are opened with the toolbar buttons.

@ussuri @terrylucas 

TBR