Fixed adding fields on adding panels.
implementing connection between panels and fields