uk-modal closes automatically when clicking on the modal overlay code example
Example 1: launch uikit modal from php
UIkit.modal(element).hide();
Example 2: launch uikit modal from php
UIkit.modal(element).show();
UIkit.modal(element).hide();
UIkit.modal(element).show();