Disable global macros when macro palette is active?

I'm hoping to re-use hotkeys when a palette is open vs when its not.

In other words, have a universal hotkey until the palette is open, at which point, the hot-key is context specific.

This seems like a relatively intuitive feature, so I assume it must exist already? However, I can't find it..