Ex-79 Bug Fixed. If there is no coupon code, 'Generate Registration Codes' modal dialog does not appear.

@chrisndodge I have resloved the issue. Kindly review the changes.

Thanks