Implements select2 on hash input and adds a checkbox.