Quiting program in Panel does not quit

When I try to quit a program by right-clicking the icon in the panel and selecting Quit, the Flatpak install/open screen for that app appears, and the app is still running. Weird.
Now I close a program by clicking only the X in its upper-right location of its screen.
Is there a cure for this panel behavior or is that just the way it is?

Laptop Make: Model > Framework: Laptop AB
OS: Ubuntu 22.04 LTS x86_64
Kernel: 5.15.0-35-generic
Shell: bash 5.1.16
DE: GNOME 42.1
WM: Mutter
CPU: 11th Gen Intel i7-1165G7 (8) @ 4.700GHz [127.4°F]
CPU Usage: 7%
Disk (/): 15G / 38G (42%)
GPU: Intel TigerLake-LP GT2 [Iris Xe Graphics]
GPU Driver: i915
Memory: 7086MiB / 15787MiB (44%)
Resolution: 2256x1504

Try disabling the dock and re-enabling it.
You can do it from the Gnome Extensions App.


What is the App called and is there a Deb alternative instead of Flatpak?? As I’m sure the Deb version would be better, if there is a deb version?