I recommend you use the events system like is said in Bootstrap's documentation. For exemple, register the show event for each modal.
$('#modal_reuniaoproducao').on('show.bs.modal', function (e) {
// do something, in this case open elfinder.
var elf = $('#elfinder').elfinder({
url : 'elfinder/php/connector.php', // connector URL (REQUIRED)
width: 1024,
height: 768,
commands: myCommands,
}).elfinder('instance');
});
And you can send the "control" with method get to connector.php, like connector.php&folderState=1. Its just an example.
Don't forget to destroy clean modal body on close and clear elfinder instance so when you make another call to connector you have a "clean sheet".
I Hope it helps.