Design the Edit Dialog.