How can I ensure my form expands on the first click to open the lightbox?