Help with new window

hi, i will try to explain what i’m looking for!

i have “button” then when i click on it i want a new smaller window that comes with content,not a new window that opens in a new tab-just a smaller window inside index page. something like zoom on content when you click on it!
how can i do that?:huh: