Reset fields with invalid input

Handles the case where you input invalid stuff into a field, cancel,
and open the editor again and the field still shows the invalid input
from last time.