I'm using the follow code to make the display appear:
<div id="create_phase{{ forloop.counter }}" class="w3-modal" onclick="this.style.display='visible'">
and the follow code to hidden display:
<a onclick="document.getElementById('create_phase{{ forloop.counter }}').style.visibility = 'hidden'">X</a>
It works fine, but i can't make display appear again after hidden it.
Any suggestions?