Fixed Bugs

Added jQuery, changed modal window, and fixed bugs.