When modal view controller are presented go up the view controller hierarchy
Added test cases with modal view controllers
Fixes #6
This should be an error instead
Updated demo
Removed unused demo code