update Modal events handlers &  examples