Why is Lightbox form opening twice?