modified layout of dialogs