MDL-46432 javascript: Allow setting of title on confirmation dialogue