edit dialog opens up