KRACOEUS-7656: Fixing dialog sizing

This happened after the rice upgrade, so fixing it.