Move plotUdf initialization to a module
Add markup required for receiving resolve buttons

fixes #1583 on github
Make plotUdf module more readable
Merge pull request #1699 from steventlamb/bug/1583_alert_button

Bug/1583 alert button