Update env in main window for ACL dialog autocompletion (#1489594)