fixed dialog popping up on orientation change; just added an if statement to check the savedInstanceState