UINavigationController category to allow the UIViewController to determine if it should be popped off the stack