actually use the callback in confirm