Pass custom variables through message modal.php


I've edited jobs-plus/app/addons/je-message/lib/app/views/shortcode/modal.php and added one more input field.

I'd like to ask you how can i send it's value in my database? Is there any controller i have to edit? Because i saw that on submit it runs a javascript code.

Thanks in advance