move edit availabilities to the modal