Maybe use `$modal` as the variable name since it's a jquery element?