Content and HTML changes to prevent closing of modal when primary window is clicked.