changed design of dialogs