better api key dialog