Popup by clicking on small image to get the live stream of ubiquiti video camera

i have created a habpanel view which small images of the ubnt video camera. I want a popup when clicking on the small image to open large window in overlay with the video livestream of the camera (RTS stream i think). Is it possible? Has anybody already some code for the first step, the popup?

This sort of thing?

Wish I had seen your post before I created this widget:

Cool, i will check this weekend. Thanks