Add generic HTML for panels and add nested panel possibility.