Lately I have been getting system notifications with no X on them to dismiss them. They are not going away on their own, I cannot move them. The only way that I have found to get rid of them is to restart my MacBook and then the dismissal X appears.

Does anyone know how to dismiss these without the reboot? (it is making me feel like I am using a windows computer again) I have all updates installed (Sonoma 14.5 (23F79)) and it is a MacBook Pro M2 Max 2023.