Removed depricated view switching.

removed reference to dismissmodelviewcontroller