Set focus on modal input when visible

Hi @Tim_Jones!

You can use this block to switch the visibility of a component:

Or you can do it this way using PageData.
First, set the Visibility Logic property for the modal window:

And then add an On Click Event handler for the button:

Regards,
Alexander