Shows a modal using the state key. If the keys .visible is empty, the modal is hidden.
.visible
In-pins
state.visible
Out-pins