Correction of the modal tab buttons

Corrected the switching table button bug : now the button next and previous are working well