I've  looked into this issue. I do not see how can we reuse code without introducing complexity. What I can reuse is this:

var overlay = $('overlay'); 
cr.ui.overlay.setupOverlay(overlay);
cr.ui.overlay.globalInitialization();

I can make it a init function on apps_dev_tool which will initialize stuff once and return a ready object on later calls. Does it worth effort?