Dismiss keyboard doesn't work on custom modal pop-up

I created a container with visibility linked to pageVars.showModal. When showing the modal container, rest of the main page visibility sets to false.

There are a simple text input and a submit button in this container.
I used Input onBlur → dismiss keyboard flow function but it doesn’t work. It does nothing when I check the debug flows.

Note: onChange → dismiss keyboard flow function is working.

Is there any idea?