Removes UI flow controller and all view models.