If `@modal` isn't defined (wasn't passed in) this need to be defined first.