fixed portal-location data-submit

minimal functionality has been implemented.