added close and open poll options