form', model, true);
							SET('common.form', ctrl.scope + '-replace');
							SETTER('loading', 'hide', 1000);
						});
						break;
					case 'import':
						setTimeout(function() {
							$('#productsimportjson').click();
						}, 500);
						break;

					case 'export':
						SETTER('loading', 'show');
						SETTER('loading', 'hide', 3000);
						setTimeout(function() {
							location.href = '[url]api/products/export/'.env(true);
						}, 1000);
						break;
				}
			}, 0, 5);
		};

		ctrl.create = fu