Connection request keeps popping up
I have too many apple devices, since they get lost. When I have imac turned on and macbook pro turned on and they are in the same apartment, every minute or 30 seconds the window keeps popping up (attached). "Ignore this device" does nothing. During writing this text I needed to close the popup window three times, nothing works. The only way to not let it happen is to have those two computers turned on separately, so my wife and I need to take turns to be able to work as we should in XXI century.
Is there any kind of ultra-hyper advanced apple magic products specialist, that can help...?
MacBook Pro 13″, macOS 10.15