Add validation to 'activate' object context command.