New event RunDialogEvent

This event if emited by the function run_dialog and gives the oportunity
for plugins to replace the dialog being run.

Change-Id: I081d78bf2bced2e025c1ec1048353420d4c4f798