Create aggrid cell editor in specific path in dom

i am using Angular 16 and AgGrid 30.

i want the cell editor to be created on different path, currently its created in body at bottom div element with this class: ag-theme-material ag-popup, and inside is the editor, but i want it to be somewhere else, for example body > div.dialog

cant find that in documentation, any help is apprechiated.

enter image description here

Thanks