Adding in poll directive and giving add buttons functionality