Setting the admin theme only inside the overlay On my site, I have the Overlay module enabled, and I have selected an admin theme that is different from the theme used as default.
Sometimes, a page for which the admin theme is set is accessed with a direct link, and the admin theme is used. I would like to show the page with the default theme, and use the admin theme only with the overlay. 

Is there a way to achieve this (module, or code to use in a custom module)?
The Overlay Theme module would probably be ideal:


  Overlay theme is a small module that provides an option to set the theme of modal frames provided by the core Overlay module, different from the default which is the Administration theme.


Using that you could set your default admin theme to the same as the front end, and set the overlay theme to what ever you like.