#modal_title was assigned to 2 elements, messed up the JQuery calls to it