Show Dialog on clicking edit.