Can't use modal in forms

I can’t use modal in starter form with this code:

      <table class="table table-hover"" ng-repeat="person in persons" >
        <tr>
          <th>Name</th>
          <th>Actions</th>
        </tr>
        <tr><td><input style="width:100px;" type="text" id="myInput"  ng-model="person.name" /></td>
     <td><button type="button" class="btn btn-primary btn-sm" data-toggle="modal" data-target="#exampleModal">Details</button></td></tr>
      </table>
  
    </div>
    
    <div class="modal fade" id="exampleModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <h5 class="modal-title" id="exampleModalLabel">Modal title</h5>
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                </button>
            </div>
            <div class="modal-body" ng-repeat="person in persons">
             <input style="width:100px;" type="text" id="myInput"  ng-model="person.name"/>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
                <button type="button" class="btn btn-primary">Save changes</button>
            </div>
        </div>
    </div>
</div>
</form>

But i can’t use modals in forms
what should i change to implement this logic in my other forms too?
should i add any camunda native endpoint ?
(esentially, when i try to use pop-up modals i am readressed to unknownd camunda page)

@sebastian.stamm don’t want to bother you too much, but you are always very helpful, perhaps you can advise again? :slight_smile:

Could you share the complete code snippet? It looks like a part of it is missing.