Change definition state properties and dialog