target="_parent"
I'm calling the modal like this:
$('.button').on('click', function(){
$('#modal5.modal').modal('show');
});
<button data-modal="modal5" id="call-modal-5" class="ui secondary button">teste</button>
<div class="ui basic modal" id="modal5">
<div class="ui icon header">
<i class="archive icon"></i>
Ola
</div>
<div class="content">
<p>mensagem para teste</p>
</div>
</div>