Is there a default way in wordpress to create a overlay in the dashboard?

You should use WordPress’s default javascript file in admin. Check out ThickBox in Codex.

Or, you can use jQuery UI Dialog plugin. You can find procedure to use in this answer of StackOverflow.