label edit dialog state saving