I'm using Foundation 6.3.1 and I know you can prevent modals from closing when a background by setting this data option on the individual modal like so:
<div class="reveal" data-reveal data-options="closeOnClick:false;">...</div>
Foundation.Reveal.defaults.closeOnClick = false;
But unfortunately this does not seem to work.
Any info or suggestions on how to go about this would be awesome.