Custom Popup Window

I have an addon I made myself. It works fine.
It installs in the N-Panel.

However, I want to remove from the N-Panel and only display in a popup panel when using a keyboard. Thus, I need a way to set preference so I can set the Keymap and a way to make it show up as a popup.

Can anyone point me in the right direction??
Blender 3.0.1

Anyone have any suggestions?

if you don’t set a bl_category it shouldn’t show up in the side panel

Okay… What I need to know is what do I do to make my N-Panel addon a popup instead.
I have the panel made, I just don’t know what PY I need to make it popup using a keymap.