added title to edit dialogue