Modelling of dissolution kinetics of thin amorphous chalcogenide films