fixes style of the dialog