Bug 813811 - Trusted UI for payments needs a localized title; r=jparson

Fix condition

Added _openTrustedUI function