all about dialog focus