Added jquery to scripts subfolder.
Added jquery to script list for pop-up dialog.
Separated script for pop-up dialog into two scripts, one for initilization.