edit dialog for simple bean