Wrap/Unwrap agents on click