Reset preview form when id changes