Facebook doesn't trust websites that are on an IP address only. When the popup goes away, there's a "Confirm" button that you can then click and you'll be able to actually post the Like.
Once you move away from a dev site and to a real domain-based website, that issue will go away.
Hope that helps,
Alex