N(function(exports) {

		exports.reload = function(com) {
			var model = exports.model;
			var id = model ? model.id : null;
			com.reconfigure({ title: id ? '@(Update app)' : '@(Register app)' });
		};

		exports.import = function() {
			var path = 'formimport';
			var fn = model => exports.extend(model);
			SET(path + ' @default', { callback: fn });
			SET('common.form2', path);
		};

		exports.toggle = function(el) {

			var dom = el[0];
			var token = el.attrd('hidden');
			var text;

			if (dom.$bktoke