In Unreal Engine, you can use the Set Input Mode : Game Only function to capture controller inputs for the game, rather than for the UI. Additionally, you can use the Set Input Mode : UI Only function to capture inputs only for the UI, or Set Input Mode : Game And UI to capture inputs for both the game and the UI simultaneously. Keep in mind that you need to set the input mode in the appropriate event, such as when the menu is opened and closed.
If you need a visible cursor, get the Player controller and set the show cursor to true.
Technically; from what I can read, these should work for the CommonUI plugin.