Adding event tracking for modal

Open and close modal covered.