renamed dialog for better understanding