making create button work always in election create form