LPS-35836 Moving pop-up dimensions back inside the dialog

After some changes in util-window.js, the dialog dimensions must be finally defined inside the dialog.