Just in case someone ends up here, this worked for me as the action that triggered my dialog was updating form so my dialog was dissapearing, because of the update, before closing and then my inputs weren't working