It appears I had been using the wrong version of the code which did not work
It appears I had been using the wrong version of the code which did not work

I have replaced this with a working copy of the code
rorystandley/rsModal