closed the lean modal when the registration codes are generated
Merge pull request #4772 from edx/muhhshoaib/close-dialog-box-when-csv-is-downloaded

closed the lean modal when the registration codes are generated