[PRD-4458] Change calculation for open dialog to correct size