fix style of dialogs