I have created a Blueprint interface in C++, like this:

:
/// Implemented by dialogs and menus that can be controlled with keyboard and gamepad
...