#5107 modify the dialog style