modal toggles correctly, loads coupon from backend if code is correct