removed style.display set to inline. caused a js error. Not sure why it is required. Will keep an eye on it.
Added original full script for reference.
updated
locked body overflow during modal display
Added Cancel button to popup dialog
Merge branch 'master' of github.com:AppStateESS/phpwebsite