change dialogs layout