LPS-37814 open preview of web content in a pop up

Hey Nate, 

we have introduced more changes, so we would like you to review the js. 

thanks!