How to load my page in a popup window?
You can use "crm-popup" class. you just need to add this class to your a tag. just it!

Just like this:

&lt;a href="{crmURL p='path' q="query"}" ... class="crm-hover-button crm-popup action-item"&gt;...&lt;/a&gt;


For more information please follow the Documentation: https://docs.civicrm.org/dev/en/latest/framework/ajax/