Re-center popup form upon changing the width and height of popup form

Hi Bruno,

Thanks for getting back to me. I copied/pasted your code into the demo and set both height and width to 800. As indicated below, the initial positioning of popup form still does not properly align it at the center of the page

Here is demo version 2 updated based on your code:
36. PopupForm V2.zip (1.8 MB)