In your custom overlay you  have the option to close the popup. All you need to do is use a link similar to the one below:

<a onclick="_mktz.inject.close();" href="javascript:;">Close me</a>