Update to buildView method

added in a second arg when the new viewType is called which references the parent modal. If you load a new view, you basically lose access to the modal.