Use user-agent string to reason about UX expectations. E.g. Should the Cancel button in dialigues be on the left or the right?