getting new cleanup functions from Rootstheme
auto include modal html in footer