# Message gui shows up twice?

**URL:** <https://forum.inductiveautomation.com/t/message-gui-shows-up-twice/67143>\
**Category:** Ignition\
**Tags:** vision\
**Created:** [December 1, 2022, 3:34pm UTC](https://forum.inductiveautomation.com/t/message-gui-shows-up-twice/67143 "2022-12-01T15:34:19Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![rahman.tarek](https://avatars.discourse-cdn.com/v4/letter/r/b77776/32.png) [@rahman.tarek](https://forum.inductiveautomation.com/u/rahman.tarek)\
**Post date:** [December 1, 2022, 3:34pm UTC](https://forum.inductiveautomation.com/t/message-gui-shows-up-twice/67143/1 "2022-12-01T15:34:19Z")

</div>

Hi there,

I have a script in the database extension function such that when both cause and comment of the table is entered i want to show a confirmation dialog box. But for some reason i keep getting two. any ideas why this is happening?

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/0/0/005aec72e4442dbd26dbfa33a0af8dbaf15e43a7.png)

---

<div class="post-metadata">

**Author:** ![jlandwerlen](https://avatars.discourse-cdn.com/v4/letter/j/bc8723/32.png) [@jlandwerlen](https://forum.inductiveautomation.com/u/jlandwerlen)\
**Post date:** [December 1, 2022, 3:36pm UTC](https://forum.inductiveautomation.com/t/message-gui-shows-up-twice/67143/2 "2022-12-01T15:36:42Z")

</div>

I'm not trying to be wise, but it shows twice because you are calling it twice.

---

<div class="post-metadata">

**Author:** ![rahman.tarek](https://avatars.discourse-cdn.com/v4/letter/r/b77776/32.png) [@rahman.tarek](https://forum.inductiveautomation.com/u/rahman.tarek)\
**Post date:** [December 1, 2022, 3:37pm UTC](https://forum.inductiveautomation.com/t/message-gui-shows-up-twice/67143/3 "2022-12-01T15:37:43Z")

</div>

yea sorry that was an older image. uploafed the new one. whether i call it once or twice it shows up twice

---

<div class="post-metadata">

**Author:** ![craigb](https://avatars.discourse-cdn.com/v4/letter/c/9f8e36/32.png) [@craigb](https://forum.inductiveautomation.com/u/craigb)\
**Post date:** [December 1, 2022, 4:01pm UTC](https://forum.inductiveautomation.com/t/message-gui-shows-up-twice/67143/4 "2022-12-01T16:01:59Z")

</div>

[https://forum.inductiveautomation.com/t/vision-table-oncelledited-system-gui-confirm-popup-two-times/41873](https://forum.inductiveautomation.com/t/vision-table-oncelledited-system-gui-confirm-popup-two-times/41873)

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [December 1, 2022, 4:37pm UTC](https://forum.inductiveautomation.com/t/message-gui-shows-up-twice/67143/5 "2022-12-01T16:37:03Z")

</div>

This looks like _Vision_ rather than _Perspective_. Can you add the appropriate tag to your question?
