added state handling to checkbox plugin if not tied to selection