moved the environment selection to the api key modal