reverted to jquery form for popup