ADD FUNCTIONALITY TO OPEN AND CLOSE POLLS