Figured out issue with modalInstance injection