Try to fix the apparition of the dialog