worked on dialogs and doc