Set correct values when resetting url and comment fields.