add nav controller to handle modal view and add buttons programmatically with connected actions