Fixed behaviour of save button on edit commitment tab