Added overlay popup changes and send email functionality