Modal opt can be configured at runtime