fix close modal firefox
Merge pull request #778 from onepercentclub/feature/CLUB-671

fix close modal firefox