form in popup toggle