Note that `onBeforeShow` is called every time when navigating to this panel, if the references to the dom elements are static, I would suggest to move this line to `onInit` which is called only once.