fix hide modal when modif