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