Adding associate and dissociate tasks to actions