OPAL-2265: Use of ErrorResponseCallback on a modal without calling Const...

...rainedModal to register event handler.