Add email capture to cancel button