Add the dialog for task editor.