Minor fix and updated function call

- init renamed to preRender following framework update
- z-index issue on pop-up fixed