Enables the modal windows for confirmation screens and hooks up the referral success modal.
Minor HTML bug fix. Removes unnecessary closing tag.