Edit dialog script fields