Work on dialog implementation.