I have followed the steps mentioned by you.
Please find attached the error I got.
Forgot to mention that the Greet.groovy is in the path:
Ok, so I tweaked the code a bit:
import demo.Greet (removed the soapui), and now I am getting a blank dialog box (attached).