Making sure that the ViewController for the SMS is presented before we dismiss the parent VC