Replace 'focused' attribute to 'autofocus' for dialogs

Fixes=https://github.com/dart-lang/spark/issues/604
@review ussuri