First button in modal focused by default

Hi everyone! I'm having a small issue with mendix that perhaps you can help me. I created a modal popup that has some buttons inside of it. The issue is that now, everything that I open in. I have the first button focused, even though I did not change any properties to make it focused from the beginning. I've check the tab index, and all of my buttons have the same value : 0 . What can be causing this issue, and how can I make the modal open without having the button focused from the beginning, without putting my tab-index at -1 (and thus losing the tab funcionality)  
1 answers

Not sure if the widget is still compatible but you can try:

This allows you to set the focus based on the outcome of a microflow.