removed unused onlick checkInput from editor save