Updated Modal CSS and Logic