materialize modal close icon code example
Example 1: materilize css modal
Modal
Example 2: open model using materialize open
$(".MyModal").closeModal()
Modal
$(".MyModal").closeModal()