Moved initial html request to viewDidAppear to fix issue when opening the html view in a modal