Renamed a function that was conflicting with a private API calling dismissWithCompletion