www: Fix edit pool page

Fix bug in add pool page which prohibited changes from being saved.

Fixes #669