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