Fix the bug where a blank error message displayed upon opening the modal

- https://github.com/alphagov/transition/pull/421#issuecomment-58001509