extract poll submission form into a component