keep reference to options.data inside ngDialogData if object