# Pop-up Template - Security Log-In Issue

**URL:** <https://forum.inductiveautomation.com/t/pop-up-template-security-log-in-issue/29318>\
**Category:** Ignition\
**Created:** [October 23, 2019, 1:15pm UTC](https://forum.inductiveautomation.com/t/pop-up-template-security-log-in-issue/29318 "2019-10-23T13:15:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![hortonm](https://avatars.discourse-cdn.com/v4/letter/h/b2d939/32.png) [@hortonm](https://forum.inductiveautomation.com/u/hortonm)\
**Post date:** [October 23, 2019, 1:15pm UTC](https://forum.inductiveautomation.com/t/pop-up-template-security-log-in-issue/29318/1 "2019-10-23T13:15:20Z")

</div>

Hi,

I have a popup (based on a template) that you can access from multiple points in the main window. The values in the pop-up are populated by specific tag values which depend on which button in the main window you press. If you have the pop-up open and then you log in from the main window, the pop -up will change to the default tags of the template, instead of the tags you clicked on.

I’m looking for some help in making sure the values on the pop-up remain the values you initially selected.

Thank you.

---

<div class="post-metadata">

**Author:** ![RadicalRumin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/radicalrumin/32/11543_2.png) [@RadicalRumin](https://forum.inductiveautomation.com/u/RadicalRumin)\
**Post date:** [October 23, 2019, 1:54pm UTC](https://forum.inductiveautomation.com/t/pop-up-template-security-log-in-issue/29318/2 "2019-10-23T13:54:17Z")

</div>

Assuming the values of the tags don’t change while the pop-up is open you could do this.  
On your button’s script, pass along the value of our tags as parameters for your pop-up window. Make sure the pop-up has custom properties setup.

that way the values shouldn’t change regardless of what happens in the background.
