An Example showing how to diamiss viewControllers and whan to use segues