Avoid reveal modal closing upon click of an element not in the DOM
Added check to make sure e.target is still in the DOM. I came across a bug when I created a google map canvas inside reveal modal, whereby upon closing the info popup on a map marker, the entire reveal modal gets closed. This is because when the overlay click handler is invoked, Google code has already removed the e.target element and the overlay handler only gets a ghost element and can not find it in the modal element