Add share dialog to main activity pages

Share/embed link pulls up a dialog with code to share
the current page or embed it in an iframe.
Add share dialog to embeddable version