Scaling

By anchoring the template inside of the popup it will always maintain that distance to the sides of the popup. So if you make the popup bigger, the template will maintain that same distance to the sides of the popup, changing the scale with the popup.

And yes, if the template fits inside the window, you do not need to anchor it.