sub nav functionality added: clicking the tabs would activate them, daterangemodal callbacks added