lick", onCancel);
                    okBtn.addEventListener("click", onConfirm);
                    modalEl.addEventListener("hidden.bs.modal", onHidden);
                    modal.show();
                });
            }
        }

        ///////////////////////////
        // MAIN FUNCTION ON LOAD //
        ///////////////////////////

        // function that triggers all functions that should be executed when the dashboard is loaded first
        // in the correct order!
        function main() {
 