Not able to view codemirror lint tooltip while codemirror is added to Bootstrap modal popup

I have added codemirror editor to a boostrap modal popup. I face difficulties in viewing the codemirror lint tooltip in popup. It is displayed in the parent html page and gets hidden from the popup page. I need it to be shown on top of popup page where codemirror editor is integrated. Please note that I have included all the code mirror files (js and css) in the main html page from where popup modal is triggered.

Thanks.

just added
.CodeMirror-lint-tooltip
{
z-index: 9999;
}

as my internal CSS and it worked.

Thanks