Thank you Jason, that helps a lot, What I am going to do is setup a support premiere ticket to get the fundamentals of using JQueryUI with php so I can do much more user friendly stuff.
Another issue I face is using the correct JQuery link from a CDN as I find some of the scripts I use fail if I use the latest JQuery build.
Hopefully once I understand more about how to call JQuery functions and vice versa with php it will benefit me greatly in learning more.
One issue that I found a lot while experimenting is that when I added some JQuery to my page, I got the modal box opening up, but then instantly closes...I removed this code and put it in a blank php file and it worked. So something was preventing keeping the modal box opened.
Chris