use top view controller to display the modal view controller.