Handle when presentedViewController has been dismissed
Merge pull request #56 from stuartkhall/master

Handle situation where presentedViewController has been dismissed