modal styling and js