Example
This is done by adding a button, dialog box and iframe as explained below.
The examples below use MDL for look and feel because it is used by Google forms and so it makes the additional elements look fairly seamless.
Dialog boxes may require a polyfill if you plan to support older browsers.