refactored back alert dialog from game activity.