Remove user file configuration for the moment as the solution founded is different from the official documentation.
Clean the run function.
Create run function and send a message when the dialog is opened.
Clean the run function correctly this time.