Custom file and modal window (v2022)

Hi,

i’d like to open a custom file using a modal window directly from the menu item generated. i’m currently using v2022
can you give me help
thanks