fixed dialog style, thanks Marnix