Refactor app-globals for dialog and more activity reporting