Finally got a dialog box working in dashboard.html for testing endpoints (AngularJS). It has a few quirks and is probably not the best way to go about doing it (see DashboardCtrl.generateContent) but for now it works