Use a customly built dialog for obtaining the api token