only open save modal when items have been added