Update dialogs.js

added the ability to bypass the angular copy for breeze js.