"ticket_top_navigation" app fails to open

I’ve developed a custom “ticket_top_navigation” placeholder app that displays a dialog using showDialog(). It works fine in the development environment. However after publication to production the dialog fails to open. At one point it ran successfully in chrome but not firefox. Currently the dialog fails to launch in either browser. The only error in the console is the following:

TypeError: Cannot read properties of null (reading 'parentNode')
    at HTMLElement.handleUnpreparedAnnotatable (freshconnect-sidebar-core.js:4093:73)
    at HTMLDocument.i (vendor-8cbb381197009…5c1eae1.js:17111:52)

However that error also appears in the console when running under the development environment.

Note others have reported similar problems but no solution is provided:

No response. The problem still persists.