dismiss source view controller when was presented modally

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

Fixes: https://github.com/franciscojrp/FRPChangeRootViewControllerSegue/issues/1