I would like to show in dialog all elements with specific class. The dialog should hide the rest of the page. So for example:
On this SO page I want to show all elements with class="user-info". Those elements would be shown in dialog with same width and height and same css and everything else would be hidden. It would be like cutting them out of the page and pasting them in a dialog.
Any ideas how this could be done?