Show keypad of the alarm in the entity detail view

When I put my alarm as a card of the lovelace UI, it shows the keypad as intended :

However, when I click on a badge showing the state of the alarm, or more importantly, on an icon of the alarm on a picture-elements, it does not show the keypad :

So I click on that:
image

And I get :

But it shows on a touch screen so it’s not very practical… Any idea?
Thanks!