Keep modal dialog open during form validation

Considering that you are dealing manually with the opening/close behavior of the modal, this can be the only solution to communicates your liveview handle_* with your front-end without re-rendering your template.

Maybe this can be useful, even for other possible problems like load bigger amount of data: