use modules to create html for panes and overlays