basic url validation on add/edit

fixes #18