Reset form after adding a resource