watch state changes to confirm