Adds view controller with alert view and delegate method