Привет, подскажите, как можно вызвать модельное окно после валидации формы?
форма
<form wire:submit.prevent="orderDelivery" class="popUp-place_form popUp-place_form--active popUp-place_form1">
@error('phone')
<li class="warning">{{$message}}</li>
@enderror
<input type="text" wire:model="phone" name="phone" class="popUp-place_inp_phone"
placeholder="+7 (XXX) XXX-XXXX">
@error('name')
<li class="warning">{{$message}}</li>
@enderror
<input type="text" wire:model="name" name="name" class="popUp-place_inp_phone" placeholder="Имя">
@error('street')
<li class="warning">{{$message}}</li>
@enderror
<input type="text" wire:model="street" name="street" class="popUp-place_inp" placeholder="Улица">
@error('house')
<li class="warning">{{$message}}</li>
@enderror
<input type="text" wire:model="house" name="house" class="popUp-place_inp popUp-place_inp-sm"
placeholder="Дом">
<input type="text" wire:model="flat" class="popUp-place_inp popUp-place_inp-m"
placeholder="Квартира">
<input type="text" wire:model="entrance" class="popUp-place_inp popUp-place_inp-sm"
placeholder="Подъезд">
<input type="text" wire:model="floor"
class="popUp-place_inp popUp-place_inp-sm popUp-place_inp-xs" placeholder="Этаж">
<textarea wire:model="comment" class="popUp-place_inp popUp-place_inp-text"
placeholder="Комментарий к заказу"></textarea>
<input type="submit" class="popUp_btn" value="Подтвердить адрес">
</form>
js
$('.thx-btn').on('click', function(e){
e.preventDefault();
$('.popUp').fadeOut(300);
$('.popUp-thx').fadeIn(300);
});