Fix focus and enter issues on dialogs.

The dialog were shown before the polymer changes where delivered. Adding a `Timer.run()` fixes the focus issue.

@ussuri 
@ussuri  I didn't try it there, do you feel it should be moved there ?