Do you have a plan name that is equal to an empty string? If not, no wonder you can’t open the lightbox.
If the plan name is undefined , you should use:
if(!planName){
Do you have a plan name that is equal to an empty string? If not, no wonder you can’t open the lightbox.
If the plan name is undefined , you should use:
if(!planName){