tri-state checkbox implemented with a label