match dialog to codiad's codestyle