How to disable keyboard input on modal window?

Hello!

New to Unity so I may be missing something obvious.

I created a “modal” window for a modal question (panel covering the entire game area which disables any MOUSE input on controls behind it).

The problem is that using the arrow keys (or any other navigation keys that I’m not aware of) the user can go “behind” the “modal” window and select other controls/buttons (by pressing Spacebar).

  1. Is there a way to stop ALL keyboard input with a simple setting?
  2. If not, how do I stop any navigation keys from functioning?
  3. Are there any navigation keys other than the arrow keys?

Any ideas will be most appreciated!

An ugly workaround (until something better comes up):

Change the Navigation of ALL controls accepting keyboard navigation (buttons/scroll bars/toggles etc.) to None.

Unity just couldn’t build a proper Modal Window??