title: Present and dismiss view modally in tabbed application using swift
body: <p>I've created a tabbed application and am able to present a view modally using the code below, however, I'm stuck on dismissing the view and displaying the tab bar and first view controller.</p>
  
  <pre><code>let storyboard = UIStoryboard(name: "Main", bundle: nil)
  let signUpViewController = storyboard.instantiateViewController(withIdentifier:"SignUpViewController") as! SignUpViewController
  self.window?.makeKeyAndVisible()
  self.window?.rootViewController = signUpViewController
  </code></pre>