modal styling changes; reorganized scripts.js