stop using system dialog in this way. It's changing in bug 964653.