Update UI flow and add dialog delegate.

And happier people are more successful, because they have more energy
and work harder.