# \[8.0\] Tag Browse Tree showing refresh popup instead of custom popup

**URL:** <https://forum.inductiveautomation.com/t/8-0-tag-browse-tree-showing-refresh-popup-instead-of-custom-popup/34127>\
**Category:** Ignition\
**Created:** [April 22, 2020, 5:30pm UTC](https://forum.inductiveautomation.com/t/8-0-tag-browse-tree-showing-refresh-popup-instead-of-custom-popup/34127 "2020-04-22T17:30:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![DaveRNeal](https://avatars.discourse-cdn.com/v4/letter/d/53a042/32.png) [@DaveRNeal](https://forum.inductiveautomation.com/u/DaveRNeal)\
**Post date:** [April 22, 2020, 5:30pm UTC](https://forum.inductiveautomation.com/t/8-0-tag-browse-tree-showing-refresh-popup-instead-of-custom-popup/34127/1 "2020-04-22T17:30:43Z")

</div>

Good afternoon,

I’m attempting to implement a right-click popup menu in a tag browse tree component, but for some reason instead of showing the popup I’m creating in the createPopupMenu() function it instead just shows the default “Refresh” menu. Is there something I’m missing? Code from the createPopupMenu function is below:

```auto
	def addTrend(evt):
		return

	def trendUnavailable(evt):
		return
	
	menuDict = {'addTrend' : addTrend}
	menu = system.gui.createPopupMenu(menuDict)
	menu.show(event)

```

---

<div class="post-metadata">

**Author:** ![DaveRNeal](https://avatars.discourse-cdn.com/v4/letter/d/53a042/32.png) [@DaveRNeal](https://forum.inductiveautomation.com/u/DaveRNeal)\
**Post date:** [April 22, 2020, 6:10pm UTC](https://forum.inductiveautomation.com/t/8-0-tag-browse-tree-showing-refresh-popup-instead-of-custom-popup/34127/2 "2020-04-22T18:10:36Z")

</div>

Figured out what the issue is. Instead of calling menu.show(event), I just needed to return menu, which adds the refresh menu option to the others.
