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