Suggest to pass the root element of the panel and use it to get other elements in the panel. As we may have more and more panels in the future, doing this helps lower the risk of any naming conflicts. And we should also replace ids with class names.