Add data-attributes to the links, and change configure to config.
Add the set_modal_tab function.