force modified line update upon save

the capture modified line function is called by the program save
function to force any modified line to be emitted before the program
is saved, which required this function to be made public