Fix error message display in event registration modal.
Merge pull request #5649 from openscholar/5392-1

Fix error message display in event registration modal.