Adding popup methods in StateManager.