diff --git a/InvenTree/InvenTree/static/script/inventree/modals.js b/InvenTree/InvenTree/static/script/inventree/modals.js
index 5b76203927..a17cee0d2c 100644
--- a/InvenTree/InvenTree/static/script/inventree/modals.js
+++ b/InvenTree/InvenTree/static/script/inventree/modals.js
@@ -1,7 +1,136 @@
-function makeOption(id, title) {
+function makeOption(text, value, title) {
/* Format an option for a select element
*/
- return "";
+
+ var html = ``;
+
+ return html;
+}
+
+function makeOptionsList(elements, textFunc, valueFunc, titleFunc) {
+ /*
+ * Programatically generate a list of