dismiss source view controller when was presented modally

https://github.com/franciscojrp/FRPChangeRootViewControllerSegue/issues/1
to fix hanging reference to previous root view controller which should be the same as presenting view controller
dismissing controller should not have references left to be deallocated