Fix shift added/modified

If a shift did not have added/modified info, it would not be updated
when the dialog was opened and would display info from the last shift
opened.