Added poll validation on editor.php