Prevent other widgets to receive user interaction events

Hi,

I’m creating a controller for a coffee mill with timers, each with its individual button. this buttons are in a lv_group.

While the mill is running on one of the timers, I want the screen to be unresponsive, except the initially touched button, so to stop the timer if needed.

How can I prevent UI events without having my own state machine or covering the rest of the UI with some overlay widget? What is a good practice for modal dialogs for example?

Thanks!