Is there a way to get some $ by placing a popup dialog box on my site

Hello. i dont have much knowledge with cpa. Someone told me its cpa does this thing.
My question is
Is there a way to get some $ by placing a popup dialog box on my site.
For example when someone come to my site from google or facebook. a dialog box to appear with close X button which capture email. the close x button should not be clickable for 30 seconds .after 30 seconds visitor can close it.And i get paid maybe 10 cents per email submit?
I dont want a locker on my site. must be close x…

Is there a way to get some $ by placing a popup dialog box on my site