got dialog box to pop up for navigation.