Putting the edit action into the dialog region.