Add API for creating dynamic panel