update dialog style