receive form values
submit config and close modal