Fix dialog box affected by the https protocol