add callback to Stack.navTo