Edit events

Function used by dialog code events that are called before or after editing a dialog.

The Before Edit Dialog and After Edit Dialog code events use a function to handle the dialog.