Still encountering the issue described here: https://linear.app/comm/issue/ENG-2539/encountering-openconnectmodal-is-not-a-function-when-attempting-to
Modifying it to:
got things working again, but not sure if this is a solid solution.
Don't want to get sidetracked by this issue at the moment so haven't really investigated, just wanted to get things back in a working state.
Depends on D6026