dont force close if activity is closed when popup is dismissed