Web: Reload page correctly on submit